:root {
    /* Color Palette */
    --primary: #001D3D;
    --primary-light: #003066;
    --secondary: #A3C1AD;
    --accent: #E07A5F;
    --accent-hover: #c9674e;
    --accent-dark: #bd5338;
    --text-dark: #415A77;
    --text-light: #ffffff;
    --gray: #BDC3C7;
    --bg-light: #F8F9FA;
    --bg-white: #ffffff;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Variables */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 29, 61, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 29, 61, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5.4rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-dark);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(189, 83, 56, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: none;
    object-fit: contain;
    transition: var(--transition);
    padding: 5px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links .btn {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 29, 61, 0.85) 0%, rgba(0, 48, 102, 0.6) 100%), url('../assets/images/indu%201.webp') center top/cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-light);
    border-radius: 50%;
    animation: scrollDrop 1.5s infinite;
}

/* Differentiator Segment */
.differentiator-segment {
    background-color: #001D3D;
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: left;
}

@media (min-width: 768px) {
    .differentiator-segment {
        padding: 2.5rem;
    }
}

.diff-bg-circle {
    position: absolute;
    right: 0;
    top: 0;
    width: 16rem;
    height: 16rem;
    background-color: #E07A5F;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
}

.diff-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .diff-content {
        flex-direction: row;
    }
}

.diff-icon {
    background-color: #E07A5F;
    padding: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.diff-text {
    flex-grow: 1;
}

.diff-badge {
    display: inline-block;
    background-color: rgba(224, 122, 95, 0.2);
    color: #E07A5F;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(224, 122, 95, 0.5);
}

.diff-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.diff-desc {
    color: #BDC3C7;
    line-height: 1.625;
    margin-bottom: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.section-title span {
    color: var(--accent);
}

.about p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

.about-image {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: white;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-size: 1rem;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    text-align: left;
}

.service-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 0;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 4rem 0 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-light);
    color: white;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollDrop {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }
}

/* Scroll Revelations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce-in 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, pulse-ring 2s infinite;
    opacity: 0;
    transform: scale(0);
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Infographic Section */
.infographic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.infographic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 992px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .infographic-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: calc(7rem + 80px) 0 5.5rem;
        min-height: auto;
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-scroll {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================================
   Landscape orientation — celular en horizontal
   Replica el comportamiento de .nosotros-hero:
   sin min-height, sin flex-centering, solo padding fijo.
   ============================================================ */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        /* Desactivar el flex-center que fuerza 100vh */
        min-height: auto;
        display: block;
        /* Igual que .nosotros-hero: padding superior = navbar + margen */
        padding: calc(5rem + 60px) 0 3rem;
        align-items: unset;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }

    /* Reducir el párrafo descriptivo del hero */
    .hero-content p[style] {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
    }

    .hero-actions {
        flex-direction: row;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        padding: 0.5rem 1.3rem;
        font-size: 0.85rem;
    }

    /* Ocultar el indicador de scroll: ya no hay espacio y
       su posición absolute lo sobrepondría al texto */
    .hero-scroll {
        display: none !important;
    }
}

/* Nosotros Page Custom Styles */
.nosotros-hero {
    background: linear-gradient(135deg, rgba(0, 29, 61, 0.9) 0%, rgba(0, 48, 102, 0.85) 100%), url('../assets/images/indu%202.webp') center top/cover no-repeat;
    position: relative;
    padding: calc(7rem + 80px) 0 5.5rem;
    color: var(--text-light);
    overflow: hidden;
}

.nosotros-hero .container {
    position: relative;
    z-index: 10;
}

.nosotros-hero-title {
    font-size: 3.15rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-light);
    max-width: 900px;
    margin-bottom: 2rem;
}

.nosotros-hero-title span.orange-text {
    color: var(--accent);
}

.nosotros-hero-subtitle {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.nosotros-hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Decorative blob matching mockup */
.nosotros-blob {
    position: absolute;
    bottom: -100px;
    right: 25%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

/* 3 Column Indicators Bar */
.nosotros-indicators-section {
    position: relative;
    margin-top: -3rem;
    z-index: 20;
    padding-bottom: 4rem;
}

.nosotros-indicators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nosotros-indicator-card {
    display: flex;
    align-items: center;
    padding: 2.5rem;
    gap: 1.5rem;
    background: var(--bg-white);
    transition: var(--transition);
}

.nosotros-indicator-card:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

.nosotros-indicator-card:hover {
    background: #fafbfc;
}

.nosotros-indicator-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nosotros-indicator-icon-wrapper.blue-bg {
    background-color: rgba(0, 29, 61, 0.05);
    color: var(--primary);
}

.nosotros-indicator-icon-wrapper.green-bg {
    background-color: rgba(163, 193, 173, 0.15);
    color: #5b8a6e;
}

.nosotros-indicator-icon-wrapper.orange-bg {
    background-color: rgba(224, 122, 95, 0.08);
    color: var(--accent-dark);
}

.nosotros-indicator-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.nosotros-indicator-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.nosotros-indicator-info p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

/* Quote/Mission Statement Section */
.nosotros-quote-section {
    padding: 1rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    overflow: hidden;
}

.nosotros-quote-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.nosotros-quote-icon {
    font-size: 6rem;
    color: rgba(224, 122, 95, 0.15);
    font-family: Georgia, serif;
    line-height: 0;
    margin-bottom: 2rem;
    display: inline-block;
}

.nosotros-quote-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .nosotros-quote-text {
        font-size: 1.5rem;
    }
}

.nosotros-quote-divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 2rem auto 0;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .nosotros-hero-title {
        font-size: 2.8rem;
    }

    .nosotros-indicators-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-indicator-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .nosotros-indicator-card {
        padding: 2rem;
    }
}

/* Differentiator Section (Nuestro diferencial) */
.diferencial-section {
    background: linear-gradient(135deg, rgba(0, 29, 61, 0.95) 0%, rgba(0, 48, 102, 0.9) 100%);
    padding: 7rem 0;
    color: var(--text-light);
}

.diferencial-header {
    margin-bottom: 4rem;
    text-align: left;
}

.diferencial-badge {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.diferencial-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diferencial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.diferencial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.diferencial-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1;
    font-family: var(--font-heading);
}

.diferencial-card-title {
    color: white;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.diferencial-card-desc {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

@media (max-width: 992px) {
    .diferencial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diferencial-title {
        font-size: 2.5rem;
    }

    .diferencial-card {
        padding: 2.5rem 2rem;
    }
}

/* Dedicated Servicios Page Custom Styles */
.servicios-hero {
    background: linear-gradient(135deg, rgba(0, 29, 61, 0.95) 0%, rgba(0, 48, 102, 0.9) 100%), url('../assets/images/indu4.webp') center -50rem/cover no-repeat;
    position: relative;
    padding: 15rem 0 5rem;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(163, 193, 173, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.servicios-hero-tag {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.servicios-hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.servicios-hero-subtitle {
    font-size: 1.12rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Membership Comparison Section */
.membership-compare-section {
    padding: 7rem 0;
    background: var(--bg-white);
}

.membership-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 4rem;
}

.comparison-card {
    border-radius: var(--border-radius);
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.comparison-card.traditional {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
}

.comparison-card.membership-featured {
    background: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.comparison-card.membership-featured::after {
    content: '★ RECOMENDADO';
    position: absolute;
    top: 30px;
    right: -55px;
    width: 220px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.comparison-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.comparison-card.traditional h3 {
    color: var(--primary);
}

.comparison-card.membership-featured h3 {
    color: white;
}

.comparison-list {
    margin: 2rem 0;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.comparison-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.comparison-item.cross svg {
    color: #e53e3e;
}

.comparison-item.check svg {
    color: var(--secondary);
}

/* Detailed Pillars Section */
.detailed-pillars-section {
    padding: 7rem 0;
    background: var(--bg-light);
}

.detailed-pillar-block {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 4rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.detailed-pillar-block:hover {
    box-shadow: var(--shadow-lg);
}

.detailed-pillar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detailed-pillar-grid.reverse {
    direction: rtl;
}

.detailed-pillar-grid.reverse .detailed-pillar-content,
.detailed-pillar-grid.reverse .detailed-pillar-visual {
    direction: ltr;
}

.pillar-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pillar-tag.sst {
    background: rgba(0, 29, 61, 0.08);
    color: var(--primary);
}

.pillar-tag.psico {
    background: rgba(163, 193, 173, 0.2);
    color: #4c7c5e;
}

.pillar-tag.rrhh {
    background: rgba(224, 122, 95, 0.1);
    color: var(--accent-dark);
}

.pillar-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pillar-subtitle {
    font-size: 1.15rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 2rem;
}

.pillar-desc {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pillar-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pillar-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.pillar-feature-item:hover {
    transform: translateX(5px);
    background: #f0f3f5;
}

.pillar-feature-item.sst-border {
    border-left-color: var(--primary);
}

.pillar-feature-item.psico-border {
    border-left-color: var(--secondary);
}

.pillar-feature-item.rrhh-border {
    border-left-color: var(--accent);
}

.pillar-feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.pillar-feature-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.pillar-visual-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pillar-visual-card.psico-bg {
    background: linear-gradient(135deg, #415A77 0%, #001D3D 100%);
}

.pillar-visual-card.rrhh-bg {
    background: linear-gradient(135deg, #1F2E3D 0%, #E07A5F 100%);
}

.pillar-visual-card h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pillar-visual-card p {
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Service Star Feature (Bateria Psicosocial) */
.servicios-star-section {
    padding: 2rem 0;
    background: var(--bg-white);
}

@media (max-width: 992px) {
    .servicios-hero-title {
        font-size: 2.8rem;
    }

    .membership-comparison-grid {
        grid-template-columns: 1fr;
    }

    .detailed-pillar-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .detailed-pillar-grid.reverse {
        direction: ltr;
    }

    .detailed-pillar-block {
        padding: 2rem;
    }

    .pillar-visual-card {
        padding: 3rem 2rem;
    }
}

/* Reposition Google reCAPTCHA Badge to the Left */
.grecaptcha-badge {
    left: 20px !important;
    right: auto !important;
    box-shadow: 0px 0px 10px rgba(0, 29, 61, 0.1) !important;
}

/* Background Gears Global Styles */
.gear-container {
    position: fixed;
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

.gear1 {
    top: 120px;
    right: -100px;
    width: 500px;
    height: 500px;
    animation: spin 30s linear infinite;
}

.gear2 {
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    animation: spin-reverse 24s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}

/* Mobile Hamburger Menu Custom Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Transform to X when active */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Transform to X when active inside media query to preserve vertical centering */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 7rem 2rem 2rem;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 29, 61, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1050;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding: 0.6rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links .btn {
        text-align: center;
        margin-top: 1rem;
        border-bottom: none;
        color: white !important;
    }
}