/* RESET Y CONFIGURACIÓN BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noah', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #2d0606;
    padding-top: 0 !important;
}

.container, .minimal-container {
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 20px;
}
@media (max-width: 900px) {
    .container, .minimal-container {
        padding-right: 10px;
    }
}
@media (max-width: 600px) {
    .container, .minimal-container {
        padding-right: 4px;
    }
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6, .hero-title-minimal, .darkbox-title {
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

h1 {
    font-size: 64px;
    font-weight: 900;
}

h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

p, .darkbox-desc, .section, .nav a, .cta-button, .team-specialty, .team-role, .testimonial-author span, .blog-card p, .blog-category, .footer, .footer-menu a, .footer-logo p {
    font-family: 'Noah', sans-serif !important;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}
.minimal-container.header-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 30px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    margin-right: 48px;
    margin-left: 32px; /* Nuevo: mueve el logo a la derecha */
}
@media (max-width: 900px) {
    .header-logo {
        margin-left: 12px; /* Menor margen en pantallas pequeñas */
    }
}
@media (max-width: 600px) {
    .header-logo {
        margin-left: 4px;
    }
}

.minimal-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    margin-left: auto !important;
}
.minimal-nav ul {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0 !important;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
    margin-left: 0 !important;
}

.logo-penaranda {
    width: 320px;
    max-width: 40vw;
    height: auto;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #0a2540;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0a2540;
    border-bottom: 2px solid #0a2540;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero h3 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* BOTONES CTA */
.cta-button {
    background: #0a2540;
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: #1a3a5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.3);
}

.cta-button-white {
    background: #fff;
    color: #0a2540;
}

.cta-button-white:hover {
    background: #f5f5f5;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f5f5f5;
}

.bg-dark, .footer, .footer-modern, .section-darkbox, .contact-modern-box, .area-acomp-creativa, .blog-creative-section {
    background-color: #0a2540;
    color: #fff;
}

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

/* QUIENES SOMOS */
#quienes-somos .container {
    max-width: 900px;
    text-align: center;
}

#quienes-somos h2 {
    margin-bottom: 40px;
}

#quienes-somos p {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.service-card, .project-card {
  min-height: 320px !important;
  max-height: 480px;
  padding: 24px 18px 18px 18px !important;
  border: 4px solid #fff !important;
  box-shadow: 0 8px 32px rgba(122,17,19,0.10), 0 0 0 6px rgba(255,255,255,0.7);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover, .project-card:hover {
  box-shadow: 0 16px 48px rgba(122,17,19,0.18), 0 0 0 6px #bfa76a;
  border-color: #bfa76a;
}
.service-card img, .project-card img {
  max-width: 120px;
  max-height: 120px;
  margin: 0 auto 18px auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #0a2540;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #1a0000;
    line-height: 1.6;
}

/* TESTIMONIOS */
.testimonial {
    background: #fff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 32px;
    font-style: italic;
    color: #0a2540;
    margin-bottom: 30px;
    line-height: 1.4;
}

.testimonial-author strong {
    font-size: 18px;
    color: #0a2540;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #1a0000;
    font-size: 16px;
}

/* DIFERENCIAS */
.differences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.difference-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.check-icon {
    font-size: 24px;
    color: #0a2540;
}

/* CERTIFICACIÓN */
.section-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.cert-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cert-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cert-card h3 {
    color: #0a2540;
    margin-bottom: 15px;
}

.cert-card p {
    font-size: 16px;
    color: #1a0000;
}

/* COMPLIANCE */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.compliance-icon {
    font-size: 24px;
}

/* PROYECTOS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card h3 {
    padding: 20px 20px 10px;
    color: #0a2540;
}

.project-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #1a0000;
}

/* EQUIPO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: #0a2540;
    margin-bottom: 10px;
}

.team-role {
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 5px;
}

.team-specialty {
    font-size: 16px;
    color: #1a0000;
    margin-bottom: 20px;
}

.team-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0a2540;
    color: #fff;
}

.btn-primary:hover {
    background: #1a3a5a;
}

.btn-secondary {
    background: #f5f5f5;
    color: #4a4a4a;
    border: 1px solid #4a4a4a;
}

.btn-secondary:hover {
    background: #0a2540;
    color: #fff;
}

/* BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    background: #0a2540;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.blog-card h3 {
    color: #0a2540;
    margin-bottom: 15px;
    font-size: 20px;
}

.blog-card p {
    font-size: 16px;
    color: #1a0000;
    margin-bottom: 20px;
}

.read-more {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1a3a5a;
}

.blog-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 16px;
}

.blog-cta p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #0a2540;
}

/* CONTACTO */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a2540;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #0a2540;
    width: 40px;
}

.contact-item h4 {
    color: #0a2540;
    margin-bottom: 5px;
}

.contact-item p {
    color: #1a0000;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #0a2540;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1a3a5a;
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    background: #0a2540;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ccc;
    margin: 0;
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ccc;
    border-bottom: 2px solid #0a2540;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .nav ul {
        display: none;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-menu {
        justify-content: center;
    }
    
    .services-grid,
    .certification-grid,
    .projects-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .differences {
        grid-template-columns: 1fr;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .testimonial blockquote {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 20px;
    }
} 

/* HERO MINIMALISTA */
.minimal-header {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: auto;
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
}

.minimal-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding-top: 30px;
}

/* LOGO MÁS GRANDE */
.logo-penaranda {
    width: 200px;
    max-width: 90vw;
    height: auto;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}

.minimal-nav ul {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
    margin-left: 80px !important;
}
@media (max-width: 900px) {
    .minimal-nav ul {
        margin-left: 0 !important;
    }
}

.minimal-nav a {
    color: #fff;
    font-size: 14px;
    font-family: 'Noah', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s, border-bottom 0.3s;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    padding: 0 6px 2px 6px;
    display: inline-block;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.minimal-nav a.active,
.minimal-nav a:focus,
.minimal-nav a.selected {
    color: #240b0d !important;
    border-bottom: 2.5px solid #240b0d;
    text-shadow: none;
}
.minimal-nav a:hover {
    color: #240b0d;
    border-bottom: 2.5px solid #240b0d;
    text-shadow: 0 2px 12px rgba(36,11,13,0.18);
}

/* HERO MINIMALISTA MEJORADO */
.minimal-hero {
    height: 100vh;
    min-height: 600px;
    background: url('media/bga_foto.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.minimal-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 260px;
    background: linear-gradient(to bottom, rgba(36,11,13,0) 0%, #240b0d 100%);
    z-index: 5;
    pointer-events: none;
}
.minimal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}
.minimal-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* NOMBRE DE LA EMPRESA HERO MÁS GRANDE Y DORADO */
.hero-title-minimal {
    font-family: 'Cinzel', serif;
    font-size: 7vw;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-shadow: 0 6px 32px rgba(0,0,0,0.55), 0 1px 0 #fff2;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    font-size: 38px;
    color: #fff;
    opacity: 0.85;
    animation: bounceDown 1.5s infinite;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(16px); }
}

/* Ajustes responsive para hero minimalista */
@media (max-width: 900px) {
    .hero-title-minimal {
        font-size: 11vw;
    }
    .logo-penaranda {
        width: 120px;
    }
    .minimal-nav ul {
        gap: 22px;
    }
    .minimal-header {
        height: 80px;
    }
}
@media (max-width: 600px) {
    .hero-title-minimal {
        font-size: 13vw;
    }
    .logo-penaranda {
        width: 80px;
    }
    .minimal-header {
        height: 60px;
    }
    .minimal-container {
        padding-top: 10px;
    }
    .scroll-down-arrow {
        font-size: 28px;
        bottom: 18px;
    }
}

/* Ocultar elementos antiguos del hero */
.hero:not(.minimal-hero) .hero-content:not(.minimal-hero-content),
.hero .cta-button,
.hero h3 {
    display: none !important;
} 

/* SECCIÓN TIPO CAJA OSCURA MODERNA */
.section-darkbox {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    padding: 36px 24px;
    gap: 24px;
    position: relative;
    overflow: visible;
}

.section-darkbox .darkbox-text {
    flex: 1 1 0;
    color: #f5f5f5;
}

.section-darkbox .darkbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
}

.section-darkbox .darkbox-desc {
    font-size: 16px;
    color: #bdbdbd;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.section-darkbox .darkbox-imgbox {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-darkbox .darkbox-img {
    width: 380px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    transform: rotate(6deg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-darkbox .darkbox-img:hover {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 8px 48px rgba(0,0,0,0.32);
}

@media (max-width: 900px) {
    .section-darkbox {
        flex-direction: column;
        padding: 40px 16px;
        gap: 32px;
    }
    .section-darkbox .darkbox-title {
        font-size: 32px;
    }
    .section-darkbox .darkbox-img {
        width: 90vw;
        max-width: 340px;
    }
} 

/* CONTACTO MODERNO */
.contact-modern-section {
    background: transparent;
    padding: 0 0 80px 0;
}
.contact-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.contact-modern-box {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 56px 40px;
    margin-top: 60px;
    align-items: flex-start;
}
.contact-modern-form {
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 480px;
}
.contact-modern-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 38px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.contact-modern-desc {
    font-family: 'Noah', sans-serif;
    color: #f5f5f5;
    font-size: 18px;
    margin-bottom: 28px;
}
.contact-modern-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-modern-form input,
.contact-modern-form textarea {
    background: #222;
    border: 1.5px solid #444;
    border-radius: 12px;
    color: #fff;
    font-family: 'Noah', sans-serif;
    font-size: 16px;
    padding: 14px 16px;
    transition: border-color 0.3s;
}
.contact-modern-form input:focus,
.contact-modern-form textarea:focus {
    border-color: #fff;
    outline: none;
}
.contact-modern-btn {
    background: #fff;
    color: #240b0d;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    padding: 14px 0;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.contact-modern-btn:hover {
    background: #ededed;
    color: #240b0d;
}
.contact-modern-info {
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}
.contact-modern-map {
    width: 100%;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    margin-bottom: 18px;
}
.contact-modern-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.contact-modern-details {
    color: #f5f5f5;
    font-family: 'Noah', sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-modern-detail span {
    color: #fff;
    margin-right: 8px;
    font-size: 18px;
}
.contact-modern-socials {
    margin-top: 10px;
    display: flex;
    gap: 16px;
}
.contact-modern-socials a {
    color: #fff;
    font-size: 22px;
    background: #222;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.contact-modern-socials a:hover {
    background: #fff;
    color: #240b0d;
}
@media (max-width: 900px) {
    .contact-modern-box {
        flex-direction: column;
        gap: 32px;
        padding: 32px 10px;
    }
    .contact-modern-form, .contact-modern-info {
        max-width: 100%;
    }
}

/* FOOTER MODERNO */
.footer-modern {
    background: #181818;
    color: #f5f5f5;
    font-family: 'Noah', sans-serif;
    padding: 0;
    margin-top: 0;
}
.footer-modern-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 32px 24px;
}
.footer-modern-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
}
.footer-modern-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
.footer-modern-brandtext h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 26px;
    margin: 0 0 6px 0;
    font-weight: 700;
}
.footer-modern-brandtext p {
    color: #f5f5f5;
    font-size: 15px;
    margin: 0;
}
.footer-modern-newsletter {
    min-width: 260px;
    flex: 1 1 260px;
}
.footer-modern-newsletter h4 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}
.footer-modern-newsletter form {
    display: flex;
    gap: 8px;
}
.footer-modern-newsletter input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #444;
    background: #222;
    color: #fff;
    font-family: 'Noah', sans-serif;
    font-size: 15px;
}
.footer-modern-newsletter button {
    background: #fff;
    color: #240b0d;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.footer-modern-newsletter button:hover {
    background: #ededed;
    color: #240b0d;
}
.footer-modern-links {
    display: flex;
    gap: 40px;
    min-width: 220px;
}
.footer-modern-links h5 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
}
.footer-modern-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #f5f5f5;
    font-size: 15px;
}
.footer-modern-links ul li {
    margin-bottom: 7px;
}
.footer-modern-links a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-modern-links a:hover {
    color: #fff;
}
.footer-modern-bottom {
    border-top: 1.5px solid #333;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 15px;
}
.footer-modern-socials {
    display: flex;
    gap: 16px;
}
.footer-modern-socials a {
    color: #fff;
    font-size: 22px;
    background: #222;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.footer-modern-socials a:hover {
    background: #fff;
    color: #240b0d;
}
@media (max-width: 900px) {
    .footer-modern-top {
        flex-direction: column;
        gap: 32px;
        padding: 32px 10px 18px 10px;
    }
    .footer-modern-links {
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .footer-modern-bottom {
        flex-direction: column;
        gap: 10px;
        font-size: 13px;
        padding: 12px 4px;
    }
} 

/* GRID CREATIVO EQUIPO JURÍDICO */
.team-grid-creative {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}
.team-card-creative {
    background: #222;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    padding: 36px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.team-card-creative:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 48px rgba(0,0,0,0.28);
}
.team-photo-creative {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.team-photo-creative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-name {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}
.team-role {
    font-family: 'Noah', sans-serif;
    color: #f5f5f5;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}
.team-desc {
    font-family: 'Noah', sans-serif;
    color: #bdbdbd;
    font-size: 15px;
    margin-bottom: 18px;
    text-align: center;
}
.team-buttons-creative {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.btn-creative {
    background: #fff;
    color: #240b0d;
    font-family: 'Noah', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.btn-creative:hover {
    background: #ededed;
    color: #240b0d;
}
.btn-creative-main {
    background: #240b0d;
    color: #fff;
    border: 1.5px solid #fff;
}
.btn-creative-main:hover {
    background: #fff;
    color: #240b0d;
}
@media (max-width: 700px) {
    .team-grid-creative {
        grid-template-columns: 1fr;
        gap: 24px;
    }
} 

/* Eliminar estilos de header-sticky y logo-bar */
.header-sticky, .logo-bar, .logo-penaranda-bar {
    display: none !important;
}

/* Restaurar header y logo sobre hero */
.minimal-header {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: auto;
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
}
.minimal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-top: 30px;
}
.logo-penaranda {
    width: 200px;
    max-width: 90vw;
    height: auto;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}
@media (max-width: 900px) {
    .logo-penaranda {
        width: 120px;
    }
}
@media (max-width: 600px) {
    .logo-penaranda {
        width: 80px;
    }
}

/* ÁREA DE ACOMPAÑAMIENTO CREATIVA */
.area-acomp-creativa {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 1200px;
    margin: 0 auto 0 auto;
    padding: 0;
    overflow: visible;
}
.acomp-main-content {
    display: flex;
    gap: 48px;
    padding: 56px 48px;
    align-items: stretch;
    flex-wrap: wrap;
}
.acomp-left {
    flex: 1 1 0;
    min-width: 260px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}
.acomp-right {
    flex: 0 0 380px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
@media (max-width: 900px) {
    .acomp-main-content {
        flex-direction: column;
        gap: 32px;
        padding: 32px 10px;
    }
    .acomp-right {
        justify-content: center;
        margin-top: 18px;
    }
}
.acomp-btn {
    background: #fff;
    color: #240b0d;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    align-self: flex-start;
}
.acomp-btn:hover {
    background: #ededed;
    color: #240b0d;
}
.acomp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 28px;
    width: 100%;
    max-width: 520px;
}
.acomp-card {
    background: #222;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 32px 22px 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    min-height: 180px;
}
.acomp-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 48px rgba(0,0,0,0.28);
}
.acomp-icon {
    font-size: 38px;
    margin-bottom: 18px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.acomp-card-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.acomp-card-desc {
    font-family: 'Noah', sans-serif;
    color: #f5f5f5;
    font-size: 15px;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .acomp-grid {
        max-width: 100%;
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .acomp-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .acomp-card {
        min-height: 120px;
        padding: 22px 12px 18px 12px;
    }
} 

.acomp-grid-extend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}
.acomp-card {
    width: 100%;
    max-width: 320px;
}
@media (max-width: 900px) {
    .acomp-grid-extend {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .acomp-card {
        max-width: 100%;
    }
} 

/* BLOG JURÍDICO CREATIVO */
.blog-creative-section {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 1200px;
    margin: 80px auto;
    padding: 56px 48px;
}
.blog-creative-header {
    text-align: left;
    margin-bottom: 40px;
}
.blog-creative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
}
.blog-creative-card {
    background: #222;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s, box-shadow 0.22s;
    min-height: 420px;
    position: relative;
}
.blog-creative-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 48px rgba(0,0,0,0.28);
}
.blog-creative-img {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.blog-creative-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.blog-creative-card:hover .blog-creative-img img {
    transform: scale(1.06);
}
.blog-creative-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    color: #240b0d;
    font-family: 'Noah', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}
.blog-creative-content {
    padding: 28px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}
.blog-creative-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.blog-creative-card:hover .blog-creative-title {
    color: #f5f5f5;
}
.blog-creative-summary {
    font-family: 'Noah', sans-serif;
    color: #f5f5f5;
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.6;
}
.blog-creative-meta {
    font-family: 'Noah', sans-serif;
    color: #bdbdbd;
    font-size: 14px;
    margin-bottom: 18px;
}
.blog-creative-btn {
    background: #fff;
    color: #240b0d;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    cursor: pointer;
    align-self: flex-start;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.blog-creative-btn:hover {
    background: #ededed;
    color: #240b0d;
}
@media (max-width: 900px) {
    .blog-creative-section {
        padding: 32px 10px;
    }
    .blog-creative-grid {
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .blog-creative-section {
        padding: 18px 2px;
    }
    .blog-creative-header {
        margin-bottom: 18px;
    }
    .blog-creative-grid {
        grid-template-columns: 1fr;
    }
    .blog-creative-card {
        min-height: 320px;
    }
    .blog-creative-content {
        padding: 16px 8px 12px 8px;
    }
} 

.diferencias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 32px;
    margin-top: 24px;
    max-width: 600px;
}
.diferencia-card {
    background: #222;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 18px;
    color: #f5f5f5;
    font-family: 'Noah', sans-serif;
    transition: box-shadow 0.2s, transform 0.2s;
}
.diferencia-card:hover {
    box-shadow: 0 8px 32px rgba(255,255,255,0.08);
    transform: translateY(-3px) scale(1.03);
}
.diferencia-icon {
    font-size: 26px;
    color: #0a2540 !important;
    filter: drop-shadow(0 1px 4px rgba(10,37,64,0.18));
}
.diferencia-andres {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(34,34,34,0.92);
    border-radius: 16px;
    padding: 14px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}
.diferencia-imgbox {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.diferencia-andres-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}
.diferencia-imgbox::after {
    content: "";
    position: absolute;
    top: 0; right: -10px; bottom: 0; left: 60%;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, #181818 100%);
    z-index: 2;
    border-radius: 0 50% 50% 0/ 0 100% 100% 0;
    pointer-events: none;
}
.diferencia-andres-img-seccion {
    width: 340px;
    max-width: 32vw;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s cubic-bezier(.4,0,.2,1);
}
.darkbox-imgbox {
    position: relative;
}
.diferencia-andres-img-seccion::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 60%;
    background: linear-gradient(to left, rgba(24,24,24,0) 0%, #181818 100%);
    z-index: 2;
    border-radius: 32px 0 0 32px;
    pointer-events: none;
}
.diferencia-andres-img-seccion:hover {
    transform: scale(1.04) rotate(-2deg);
    opacity: 0.92;
    box-shadow: 0 16px 64px rgba(0,0,0,0.28);
}
@media (max-width: 900px) {
    .diferencia-imgbox { width: 40px; height: 40px; }
    .diferencia-andres { font-size: 15px; padding: 10px 8px; }
    .diferencia-andres-img-seccion { width: 180px; max-width: 60vw; }
}
@media (max-width: 900px) {
    .diferencias-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 14px;
    }
    .diferencia-card {
        font-size: 16px;
        padding: 14px 12px;
    }
} 

/* HERO SLIDER - LIMPIO */
.hero-slider-overlay { display: none !important; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(36,11,13,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero-arrow:hover {
    background: #750000;
}
.hero-arrow-left {
    left: 24px;
}
.hero-arrow-right {
    right: 24px;
}
.hero-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}
.hero-slider-images {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.hero-slide-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.7s;
    z-index: 1;
    display: none;
}
.hero-slide-wrapper.active {
    opacity: 1;
    z-index: 2;
    display: block;
}
.hero-slide-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(36,11,13,0.7) 0%, rgba(36,11,13,0.1) 60%, rgba(36,11,13,0.7) 100%);
    z-index: 3;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    display: block;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 4;
    font-size: 2.5rem;
    color: #fff;
    opacity: 0.85;
    animation: bounceDown 2s infinite;
}

@media (max-width: 900px) {
    .hero-title-minimal { font-size: 38px; }
    .hero-slider-logo { width: 80px; }
}
@media (max-width: 600px) {
    .hero-title-minimal { font-size: 26px; }
    .hero-slider-logo { width: 60px; }
} 

/* LOGO Y MENÚ FIJOS SOBRE HERO SLIDER */
.hero-slider-logo-fixed {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 70px;
}
.hero-slider-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.hero-slider-menu-fixed {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 70px;
    background: rgba(36,11,13,0.7);
    border-radius: 40px;
    padding: 0 32px;
}
.hero-slider-menu-fixed ul {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 70px;
}
.hero-slider-menu-fixed a {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: color 0.3s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    line-height: 70px;
    display: flex;
    align-items: center;
    height: 70px;
}
.hero-slider-menu-fixed a.active,
.hero-slider-menu-fixed a:hover {
    color: #0a2540;
    border-bottom: 2px solid #0a2540;
}
@media (max-width: 900px) {
    .hero-slider-logo-fixed { top: 12px; left: 12px; height: 48px; }
    .hero-slider-logo-img { width: 48px; height: 48px; }
    .hero-slider-menu-fixed { top: 12px; right: 12px; height: 48px; padding: 0 12px; }
    .hero-slider-menu-fixed ul { gap: 18px; height: 48px; }
    .hero-slider-menu-fixed a { font-size: 1rem; line-height: 48px; height: 48px; }
}
@media (max-width: 600px) {
    .hero-slider-logo-fixed, .hero-slider-menu-fixed { position: static; display: block; margin: 0 auto 8px auto; text-align: center; }
    .hero-slider-menu-fixed ul { flex-direction: column; gap: 8px; height: auto; }
    .hero-slider-menu-fixed { border-radius: 20px; padding: 0 6px; }
}
/* Eliminar header anterior sobre hero */
.hero-header, .hero-header-container, .hero-header-logo, .hero-header-nav { display: none !important; } 

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(36, 11, 13, 0.6); /* Fondo oscuro y translúcido */
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
}

.header-logo {
  height: 38px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 2px 0;
  position: relative;
  transition: color 0.2s;
}

.main-nav a.active,
.main-nav a:hover {
  color: #f50000;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: #f50000;
  position: absolute;
  left: 0;
  bottom: -4px;
  border-radius: 2px;
} 

/* Carrusel manual de banners */
.hero-slider-manual {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    background: #000; /* Fondo negro para evitar que se vea el fondo arriba */
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.hero-slider-manual::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 10;
    background: lisnear-gradient(
        to bottom,
        rgba(45,6,6,0) 0%,
        #2d0606 100%
    );
}
.hero-slider-manual-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-arrow-manual {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: 1.5px solid #ccc;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 2.2rem;
    color: #240b0d;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    z-index: 20;
    opacity: 0.92;
}
.hero-arrow-left-manual {
    left: 32px;
}
.hero-arrow-right-manual {
    right: 32px;
}
.header.minimal-header {
    z-index: 30;
}
@media (max-width: 900px) {
    .hero-arrow-manual {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .hero-arrow-left-manual {
        left: 8px;
    }
    .hero-arrow-right-manual {
        right: 8px;
    }
}
@media (max-width: 600px) {
    .hero-arrow-manual {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}
/* Fin carrusel manual de banners */ 

.manual-slide {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    background: #181818;
    display: block;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .manual-slide {
        object-fit: contain;
        background: #181818;
    }
}
@media (max-width: 600px) {
    .manual-slide {
        object-fit: contain;
        background: #181818;
    }
} 

.logo-solo-quienes {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}
.section-darkbox .darkbox-imgbox {
    display: flex;
    justify-content: center;
    align-items: center;
} 

.acomp-titulo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 32px;
}
.acomp-titulo-linea {
    width: 2px;
    height: 70px;
    background: #fff;
    opacity: 0.7;
    margin-bottom: 18px;
    border-radius: 2px;
}
.acomp-titulo {
    font-family: 'Cinzel', serif;
    font-size: 64px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
    line-height: 1.05;
}
@media (max-width: 900px) {
    .acomp-titulo { font-size: 38px; }
    .acomp-titulo-linea { height: 40px; }
    .acomp-titulo-area { margin-top: 48px; }
}
.acomp-area-box {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 1200px;
    margin: 48px auto 80px auto;
    padding: 0;
    overflow: visible;
} 

.compliance-proyectos-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 80px auto;
    flex-wrap: wrap;
}
.compliance-box, .proyectos-box {
    min-height: 320px !important;
    max-height: 420px !important;
    padding: 32px 18px 18px 18px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.compliance-box .darkbox-imgbox img,
.proyectos-box .darkbox-imgbox img {
  max-height: 220px;
  width: auto;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .compliance-box, .proyectos-box {
    max-height: 340px !important;
    padding: 18px 8px 8px 8px !important;
  }
  .compliance-box .darkbox-imgbox img,
  .proyectos-box .darkbox-imgbox img {
    max-height: 120px;
    border-radius: 10px;
  }
}

.equipo-juridico-uno {
    background: #181818 url('media/brillo-onda-dorado.png') repeat;
    background-size: cover;
    background-blend-mode: lighten;
    position: relative;
    overflow: hidden;
}
/* Elimina los brillos pseudo-elementos */
.equipo-juridico-uno::before,
.equipo-juridico-uno::after,
.equipo-juridico-uno .equipo-brillo-extra {
    display: none !important;
}

.equipo-juridico-uno::before, .equipo-juridico-uno::after, .equipo-juridico-uno .equipo-brillo-extra {
    content: "";
    position: absolute;
    background-image: url('media/brillo-onda-dorado.png');
    background-size: 600px auto;
    background-repeat: no-repeat;
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
    filter: brightness(1.5) blur(0.5px);
}
.equipo-juridico-uno::before {
    left: -80px; bottom: -60px;
    width: 700px; height: 300px;
    background-position: left bottom;
    transform: rotate(0deg) scale(1.1);
}
.equipo-juridico-uno::after {
    right: -120px; top: -60px;
    width: 600px; height: 260px;
    background-position: right top;
    transform: rotate(12deg) scale(0.8);
    opacity: 0.22;
}
.equipo-juridico-uno .equipo-brillo-extra {
    left: 40%; top: 50%;
    width: 500px; height: 200px;
    background-position: center;
    transform: rotate(-8deg) scale(0.7);
    opacity: 0.18;
}
.equipo-uno-container, .equipo-uno-foto, .equipo-uno-info {
    position: relative;
    z-index: 1;
}

.equipo-juridico-uno {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 900px;
    margin: 80px auto;
    padding: 64px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.equipo-uno-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
}
.equipo-uno-foto {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    border: 5px solid #fff;
    margin-bottom: 12px;
}
.equipo-uno-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipo-uno-nombre {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: 0.04em;
}
.equipo-uno-especialidad {
    color: #d4af37;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.03em;
}
.equipo-uno-desc {
    color: #ededed;
    font-size: 18px;
    text-align: center;
    margin-bottom: 18px;
    font-family: 'Noah', sans-serif;
    line-height: 1.6;
}
.equipo-uno-botones {
    display: flex;
    justify-content: center;
    gap: 16px;
}
@media (max-width: 700px) {
    .equipo-juridico-uno {
        padding: 32px 8px;
    }
    .equipo-uno-foto { width: 120px; height: 120px; }
    .equipo-uno-nombre { font-size: 24px; }
    .equipo-uno-especialidad { font-size: 15px; }
    .equipo-uno-desc { font-size: 15px; }
} 

/* Mejorar la distribución de las tarjetas de acompañamiento */
.acomp-grid-creative {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px 28px;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}
.acomp-card {
    width: 100%;
    max-width: 320px;
    min-height: 180px;
    background: #222;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 32px 22px 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
}
@media (max-width: 900px) {
    .acomp-grid-creative {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        max-width: 100%;
    }
    .acomp-card {
        min-height: 120px;
        padding: 22px 12px 18px 12px;
    }
}
@media (max-width: 600px) {
    .acomp-grid-creative {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.acomp-card-arrow-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 0 0;
    min-height: 32px;
}
.acomp-card-arrow {
    font-size: 2rem;
    color: #0a2540;
    background: #f5f7fa;
    border-radius: 6px;
    padding: 4px 16px 4px 16px;
    display: inline-block;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.acomp-card-line {
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0.7;
    margin: 18px 0 0 0;
    border-radius: 2px;
}

.acomp-main-content-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
}
.acomp-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    justify-items: center;
    align-items: stretch;
    margin: 0 auto;
}

.equipo-hero-lateral {
  background: #f5f5f5;
  color: #181818;
  border-radius: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  max-width: 1200px;
  margin: 80px auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.equipo-hero-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
}
.equipo-hero-text {
  flex: 1 1 0;
  padding: 64px 48px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.equipo-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  color: #0a2540;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.equipo-hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: #bfa76a;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.equipo-hero-desc {
  font-family: 'Noah', sans-serif;
  font-size: 22px;
  color: #222;
  margin-bottom: 24px;
  line-height: 1.5;
}
.equipo-hero-btn {
  background: #0a2540;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 16px 38px;
  text-decoration: none;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.equipo-hero-btn:hover {
  background: #bfa76a;
  color: #181818;
}
.equipo-hero-imgbox {
  flex: 1 1 0;
  min-width: 340px;
  max-width: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: transparent;
}
.equipo-hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
  border-radius: 0 32px 32px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .equipo-hero-container {
    flex-direction: column;
  }
  .equipo-hero-text {
    padding: 40px 18px 24px 18px;
    text-align: center;
    align-items: center;
  }
  .equipo-hero-imgbox {
    max-width: 100vw;
    min-width: 0;
    justify-content: center;
    align-items: center;
    padding: 0 0 24px 0;
  }
  .equipo-hero-img {
    border-radius: 0 0 32px 32px;
    max-width: 90vw;
  }
}

.noticias-empresariales-section {
  background: #f7f7f7;
  padding: 60px 0 80px 0;
  width: 100%;
}
.noticias-empresariales-header {
  text-align: center;
  margin-bottom: 38px;
}
.noticias-empresariales-title {
  font-family: 'Cinzel', serif;
  font-size: 64px;
  color: #7a1113;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.noticias-empresariales-decor {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 18px;
}
.noticias-empresariales-dot {
  width: 18px;
  height: 18px;
  background: #7a1113;
  border-radius: 50%;
  margin-bottom: 8px;
  display: block;
}
.noticias-empresariales-line {
  width: 120px;
  height: 5px;
  background: #7a1113;
  border-radius: 3px;
  display: block;
}
.noticias-empresariales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 38px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.noticia-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 48px 38px 32px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.noticia-card:hover {
  box-shadow: 0 16px 48px rgba(122,17,19,0.18);
  transform: translateY(-6px) scale(1.02);
}
.noticia-card-title {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: #7a1113;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.18;
}
.noticia-card-desc {
  font-family: 'Noah', sans-serif;
  font-size: 22px;
  color: #888;
  margin-bottom: 38px;
  line-height: 1.4;
}
.noticia-card-footer {
  margin-top: auto;
  border-top: 1.5px solid #eee;
  padding-top: 28px;
  display: flex;
  justify-content: flex-start;
}
.noticia-card-btn {
  background: #7a1113;
  color: #fff;
  font-family: 'Noah', sans-serif;
  font-size: 26px;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 14px 38px;
  text-decoration: underline;
  margin-top: 0;
  box-shadow: 0 2px 12px rgba(122,17,19,0.10);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.noticia-card-btn:hover {
  background: #a51c1e;
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .noticias-empresariales-title {
    font-size: 38px;
  }
  .noticia-card-title {
    font-size: 22px;
  }
  .noticia-card-desc {
    font-size: 16px;
  }
  .noticia-card {
    padding: 28px 12px 18px 12px;
    min-height: 260px;
  }
}

/* --- COLORES CORPORATIVOS EN ÁREAS DE ACOMPAÑAMIENTO --- */

.acomp-titulo, .acomp-card-title {
  color: #7a1113 !important;
}
.acomp-titulo-linea {
  background: #7a1113 !important;
}
.acomp-icon {
  color: #bfa76a !important;
}
.acomp-card {
  background: #222 !important;
  border: 4px solid #fff !important;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(122,17,19,0.10), 0 0 0 6px rgba(255,255,255,0.7);
  color: #fff !important;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.acomp-card:hover {
  box-shadow: 0 16px 48px rgba(122,17,19,0.18), 0 0 0 6px #bfa76a;
  border-color: #bfa76a;
}
.acomp-card-desc {
  color: #f5f5f5 !important;
}
.acomp-btn {
  background: #0a2540 !important;
  color: #fff !important;
  border: none;
}
.acomp-btn:hover {
  background: #7a1113 !important;
  color: #fff !important;
}

/* --- TESTIMONIO CORPORATIVO ENTRE SECCIONES --- */
.testimonio-card-corporativo {
  background: #222;
  border: 4px solid #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(122,17,19,0.10), 0 0 0 6px rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 32px auto;
  padding: 38px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.testimonio-foto-box {
  margin: 0 0 12px 0;
  z-index: 3;
  flex-shrink: 0;
}
.testimonio-foto-circular {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.testimonio-card-corporativo .testimonio-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.testimonio-estrellas {
  color: #bfa76a;
  font-size: 1.3em;
  margin-bottom: 4px;
}
.testimonio-nombre {
  color: #7a1113;
  font-weight: bold;
  font-size: 1.15em;
}
.testimonio-cargo {
  color: #fff !important;
  font-size: 1em;
  margin-bottom: 8px;
}
.testimonio-comillas {
  color: #bfa76a;
  font-size: 2.5em;
  margin-bottom: 8px;
}
.testimonio-texto {
  color: #f5f5f5;
  font-size: 1.1em;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .testimonio-card-corporativo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 12px 24px 12px;
    gap: 12px;
  }
  .testimonio-foto-box {
    margin: 0 0 12px 0;
  }
}

/* Títulos de tarjetas de áreas de acompañamiento en blanco */
.acomp-card-title {
  color: #fff !important;
}

/* --- SECCIÓN: LO QUE NOS HACE ÚNICOS --- */
.diferencia-unique-section {
  background: #181818;
  border-radius: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  max-width: 1200px;
  margin: 80px auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.diferencia-unique-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.diferencia-unique-text {
  flex: 1 1 0;
  padding: 64px 48px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.diferencia-unique-title {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.diferencia-unique-desc {
  color: #f5f5f5;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.diferencia-unique-imgbox {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 340px;
  min-height: 340px;
  height: 420px;
  gap: 0;
}
.diferencia-unique-img {
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(122,17,19,0.18), 0 0 0 6px #fff;
  object-fit: cover;
  position: absolute;
  width: 320px;
  height: 420px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.img-inclined-left {
  left: 0;
  top: 40px;
  z-index: 1;
  transform: rotate(-13deg) scale(0.93);
  box-shadow: 0 8px 32px rgba(122,17,19,0.10), 0 0 0 6px #fff;
}
.img-inclined-right {
  left: 60px;
  top: 0;
  z-index: 2;
  transform: rotate(8deg) scale(1.03);
  box-shadow: 0 16px 48px rgba(191,167,106,0.13), 0 0 0 6px #fff;
}
@media (max-width: 900px) {
  .diferencia-unique-section {
    flex-direction: column;
    padding: 0;
    border-radius: 18px;
  }
  .diferencia-unique-container {
    flex-direction: column;
    gap: 0;
  }
  .diferencia-unique-text {
    padding: 32px 18px 18px 18px;
    text-align: center;
  }
  .diferencia-unique-imgbox {
    min-width: 220px;
    min-height: 220px;
    height: 260px;
  }
  .diferencia-unique-img {
    width: 180px;
    height: 240px;
    border-radius: 14px;
  }
  .img-inclined-left {
    left: 0;
    top: 30px;
  }
  .img-inclined-right {
    left: 30px;
    top: 0;
  }
}

.acomp-titulo {
  color: #fff !important;
}

.acomp-titulo-linea {
  background: #fff !important;
}

.diferencia-unique-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diferencia-unique-list li {
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}
.diferencia-unique-chulo {
  color: #fff !important;
  filter: none !important;
  text-shadow: none !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
}

.header.minimal-header .container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 24px 0 24px;
}
.header-logo {
  margin-right: 48px;
}
.header-logo img {
  height: 80px;
  width: auto;
  display: block;
}
.minimal-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
}
.minimal-nav ul {
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}
.minimal-nav ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.minimal-nav ul li a:hover,
.minimal-nav ul li a.active {
  color: #bfa76a;
}
@media (max-width: 900px) {
  .header.minimal-header .container {
    flex-direction: column;
    padding: 0 8px;
    align-items: center;
  }
  .header-logo {
    margin-bottom: 12px;
    margin-right: 0;
  }
  .minimal-nav ul {
    gap: 18px;
    justify-content: center;
  }
}

.minimal-nav ul {
  margin-left: 220px;
}

#manual-banner {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-slider-manual-container {
  position: relative;
  overflow: hidden;
}
.hero-slider-manual-container::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 320px;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    rgba(45,6,6,0) 0%,
    rgba(45,6,6,0.7) 80%,
    #2d0606 100%
  );
}

.compliance-list {
  margin: 24px 0 18px 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compliance-list li {
  color: #fff;
  font-size: 1.08em;
  padding-left: 0;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.compliance-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #bfa76a;
  margin-right: 12px;
  font-size: 1.1em;
  vertical-align: middle;
}
.compliance-btn {
  display: inline-block;
  background: #7a1113;
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  padding: 12px 32px;
  border-radius: 28px;
  text-decoration: none;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(122,17,19,0.10);
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.compliance-btn:hover {
  background: #bfa76a;
  color: #222;
  box-shadow: 0 4px 24px rgba(191,167,106,0.18);
}

.leges-list, .leges-beneficios-list {
  margin: 16px 0 0 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leges-list li, .leges-beneficios-list li {
  color: #fff;
  font-size: 1.08em;
  padding-left: 0;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.leges-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #bfa76a;
  margin-right: 12px;
  font-size: 1.1em;
  vertical-align: middle;
}
.leges-beneficios-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #7a1113;
  margin-right: 12px;
  font-size: 1.1em;
  vertical-align: middle;
}
.leges-btn {
  display: inline-block;
  background: #0a2540;
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  padding: 12px 32px;
  border-radius: 28px;
  text-decoration: none;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.10);
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.leges-btn:hover {
  background: #bfa76a;
  color: #222;
  box-shadow: 0 4px 24px rgba(191,167,106,0.18);
}

.leges-hero-lateral {
  background: #181818;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  max-width: 1200px;
  margin: 80px auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.leges-hero-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.6em;
  color: #7a1113;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.leges-hero-text .darkbox-desc {
  color: #fff;
  font-size: 1.18em;
  line-height: 1.5;
  margin-bottom: 0;
}
.leges-list, .leges-beneficios-list {
  margin: 12px 0 0 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leges-list li {
  color: #bfa76a;
  font-size: 1.08em;
  padding-left: 0;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.leges-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #bfa76a;
  margin-right: 12px;
  font-size: 1.1em;
  vertical-align: middle;
}
.leges-beneficios-list li {
  color: #0a2540;
}
.leges-beneficios-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #7a1113;
  margin-right: 12px;
  font-size: 1.1em;
  vertical-align: middle;
}
.leges-btn {
  display: inline-block;
  background: #0a2540;
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  padding: 12px 32px;
  border-radius: 28px;
  text-decoration: none;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(10,37,64,0.10);
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.leges-btn:hover {
  background: #bfa76a;
  color: #222;
  box-shadow: 0 4px 24px rgba(191,167,106,0.18);
}
.leges-hero-imgbox {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  min-width: 340px;
  min-height: 340px;
  height: 420px;
  gap: 0;
}
.leges-hero-img {
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(122,17,19,0.10), 0 0 0 6px #fff;
  object-fit: cover;
  width: 320px;
  height: 420px;
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 900px) {
  .leges-hero-lateral {
    flex-direction: column;
    padding: 0;
    border-radius: 18px;
  }
  .leges-hero-container {
    flex-direction: column;
    gap: 0;
  }
  .leges-hero-text {
    padding: 32px 18px 18px 18px;
    text-align: center;
  }
  .leges-hero-imgbox {
    min-width: 220px;
    min-height: 220px;
    height: 260px;
  }
  .leges-hero-img {
    width: 180px;
    height: 240px;
    border-radius: 14px;
  }
}

.compliance-list-btn-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 24px;
}
.compliance-list {
  width: 100%;
  max-width: 420px;
  margin: 0;
}
.compliance-btn {
  align-self: flex-start;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .compliance-list-btn-box {
    align-items: center;
  }
  .compliance-list {
    max-width: 100%;
    text-align: left;
  }
  .compliance-btn {
    align-self: center;
  }
}

.leges-beneficios-list li {
    color: #fff !important;
}

@media (max-width: 900px) {
  .compliance-list-btn-img-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    margin-top: 24px !important;
  }
  .compliance-img-placeholder {
    width: 90vw !important;
    max-width: 340px !important;
    height: 180px !important;
    margin: 0 auto 0 auto !important;
  }
  .compliance-list {
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 340px !important;
    text-align: left !important;
  }
  .compliance-btn {
    align-self: center !important;
    margin: 0 !important;
    margin-top: 12px !important;
    font-size: 15px !important;
    padding: 10px 18px !important;
    width: 90vw !important;
    max-width: 340px !important;
    display: block !important;
  }
}
@media (max-width: 600px) {
  .compliance-img-placeholder {
    height: 120px !important;
  }
  .compliance-btn {
    font-size: 14px !important;
    padding: 8px 8px !important;
    max-width: 98vw !important;
  }
}

@media (max-width: 900px) {
  .minimal-header {
    height: 60px !important;
    padding: 0 8px !important;
  }
  .minimal-container.header-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 8px !important;
  }
  .logo-penaranda {
    width: 90px !important;
    max-width: 30vw !important;
    margin-bottom: 0 !important;
  }
  .minimal-nav ul {
    gap: 12px !important;
    font-size: 13px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .minimal-nav {
    flex: 0 0 auto !important;
  }
  .hero-slider-manual-container {
    padding: 0 0 !important;
    min-width: 0 !important;
    width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .manual-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 600px) {
  .minimal-header {
    height: 44px !important;
    padding: 0 2vw !important;
  }
  .logo-penaranda {
    width: 60px !important;
    max-width: 24vw !important;
  }
  .minimal-nav ul {
    gap: 6px !important;
    font-size: 11px !important;
  }
  .hero-slider-manual-container {
    padding: 0 !important;
    min-width: 0 !important;
    width: 100vw !important;
  }
  .manual-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ===== MENÚ HAMBURGUESA Y MENÚ MÓVIL ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
  margin-left: 10px;
}
.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 4px;
  background: #240b0d;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex !important;
  }
  .minimal-nav {
    display: none !important;
  }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 24px rgba(0,0,0,0.18);
    z-index: 1500;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px 32px;
    transition: transform 0.3s;
  }
  .mobile-nav.open {
    display: flex !important;
  }
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .mobile-nav a {
    color: #240b0d;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
  }
  .mobile-nav a:hover {
    color: #b71c1c;
    border-bottom: 2px solid #b71c1c;
  }
  .header.minimal-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    height: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
  }
  .minimal-container.header-flex {
    padding-top: 0 !important;
    align-items: center;
  }
  .logo-penaranda {
    margin-bottom: 0;
    width: 90px;
    max-width: 30vw;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    width: 100vw;
    max-width: 100vw;
    padding: 60px 18px 18px 18px;
  }
  .logo-penaranda {
    width: 60px;
  }
}
/* Eliminar espacio arriba del banner */
.hero-slider-manual, .hero-slider-manual-container, .minimal-header, .minimal-container.header-flex {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (min-width: 901px) {
  .header.minimal-header {
    padding-top: 0;
    height: 98px;
    background: transparent !important;
    box-shadow: none;
    display: flex;
    align-items: center;
    transition: background 0.3s, box-shadow 0.3s;
  }
  .minimal-container.header-flex {
    align-items: center;
    padding-top: 0 !important;
  }
  .header-logo {
    margin-left: 32px;
    margin-bottom: 0;
  }
  .minimal-nav {
    display: flex !important;
    justify-content: flex-end;
    margin-left: auto !important;
  }
  .hero-slider-manual {
    padding-top: 0;
  }
}
@media (max-width: 900px) {
  .header.minimal-header {
    padding-top: 0 !important;
    height: 60px;
  }
}
/* Header blanco al hacer scroll */
@media (min-width: 901px) {
  body.scrolled .header.minimal-header {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  }
}

@media (max-width: 900px) {
  .mobile-logo {
    display: flex !important;
    position: relative;
    z-index: 2002;
    background: transparent;
  }
  .logo-penaranda-mobile {
    width: 180px;
    max-width: 95vw;
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
    margin-top: 32px;
  }
  .header.minimal-header {
    display: none !important;
  }
  .mobile-menu-btn-banner {
    display: flex !important;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2001;
  }
  .mobile-menu-btn-banner span {
    display: block;
    width: 28px;
    height: 4px;
    background: #240b0d;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
  }
}

#manual-banner img {
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

@media (max-width: 900px) {
  .mobile-nav {
    background: #2d0606 !important;
    box-shadow: none !important;
  }
  .mobile-nav a {
    color: #fff !important;
    border-bottom: 2px solid transparent !important;
  }
  .mobile-nav a:hover {
    color: #bfa76a !important;
    border-bottom: 2px solid #bfa76a !important;
  }
  .hero-slider-manual {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .hero-slider-manual-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero-slider-manual {
    background: #2d0606 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 60vh;
    position: relative;
  }
  .mobile-logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #2d0606 !important;
    position: relative;
    z-index: 10;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .logo-penaranda-mobile {
    width: 120px;
    max-width: 60vw;
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
    margin: 0 auto;
    display: block;
  }
  .header.minimal-header {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .mobile-logo {
    padding-top: 48px;
    padding-bottom: 24px;
  }
  .logo-penaranda-mobile {
    width: 180px;
    max-width: 80vw;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
  }
  .mobile-menu-btn-banner span,
  .mobile-menu-btn span {
    background: #fff !important;
  }
  /* Gradiente de difuminado entre gris y rojo debajo del hero */
  .hero-slider-manual::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 64px;
    pointer-events: none;
    z-index: 30;
    background: linear-gradient(to bottom, rgba(36,36,36,1) 0%, rgba(45,6,6,1) 100%);
    /* gris a rojo */
    display: block;
  }
}

@media (max-width: 900px) {
  .mobile-logo {
    padding-top: 0;
    padding-bottom: 24px;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 90px; /* Ajusta según la altura del header */
    z-index: 20;
    background: transparent !important;
  }
  .logo-penaranda-mobile {
    width: 180px;
    max-width: 80vw;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 900px) {
  .mobile-logo {
    top: 50px;
  }
}

@media (max-width: 900px) {
  .hero-slider-manual::after,
  .hero-slider-manual-container::after {
    display: none !important;
    content: none !important;
    background: none !important;
  }
}

@media (max-width: 900px) {
  #manual-banner {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    ) !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    ) !important;
  }
}

#manual-banner {
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
@media (max-width: 900px) {
  #manual-banner {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
  }
}

@media (max-width: 900px) {
  .mobile-menu-btn-banner {
    top: 90px !important;
    right: 25px !important;
  }
}