:root {
    --primary-color: #132644;
    --primary-light: #1e3a68;
    --accent-color: #3dcbb1;
    --accent-hover: #32a993;
    --text-dark: #2d3748;
    --text-light: #f7fafc;
    --text-muted: #718096;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-forense {
    border-color: var(--white);
    color: var(--white);
}

.btn-forense:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.logo-text-new {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-text-new .thin {
    font-weight: 300;
}

.logo-text-new .semibold {
    font-weight: 600;
}

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.dropdown i {
    font-size: 0.8rem;
    margin-left: 4px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section (Fullscreen Centered) */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 0;
    margin-top: -60px; /* Pull up under transparent header if needed, but we'll leave it normal for now */
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(14, 33, 56, 0.8) 0%, rgba(14, 33, 56, 0.6) 100%);
    z-index: 1;
}

.hero-bg-slider img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slider img.slide.active {
    opacity: 1;
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 5px;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-credential {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.hero-highlight {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
    width: 100%;
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 250px !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 30px rgba(61, 203, 177, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    background-color: var(--primary-color);
}

.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 70px rgba(0,0,0,0.5), 0 0 40px rgba(61, 203, 177, 0.3);
}

.image-wrapper img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

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

.image-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    color: var(--text-dark);
    text-align: center;
    border-top: 1px solid var(--border-color, #eee);
}

.badge-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.badge-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    flex: 1 1 350px;
    max-width: 380px;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.card-image {
    position: relative;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.card-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-target {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-bullets {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-bullets li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.service-bullets li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.service-footer {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 10px;
}

/* When to go section */
.when-to-go {
    transition: var(--transition);
}

.when-to-go:hover {
    transform: scale(1.01);
}

@media (max-width: 992px) {
    .when-to-go > div {
        flex-direction: column !important;
        gap: 30px !important;
    }
}

/* CTA & Testimonial Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-container {
    display: flex;
    padding: 0; /* Removing padding to allow image to span */
}

.testimonial {
    flex: 1;
    padding: 60px 40px;
    background-color: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.stars {
    color: #fbbf24;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-content {
    flex: 1.5;
    display: flex;
    align-items: center;
}

.cta-text-wrapper {
    padding: 60px 40px;
    flex: 1;
}

.cta-text-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-text-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-image {
    flex: 1;
    height: 100%;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

/* Trust Footer */
.trust-footer {
    background-color: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 220px;
    transition: var(--transition);
}

.trust-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: rgba(61, 203, 177, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.trust-item span {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

/* Main Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--white);
    border-color: var(--white);
}

.footer-desc {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    max-width: 400px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.links-col ul a {
    transition: var(--transition);
}

.links-col ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-col i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.formacion-list {
    margin-bottom: 20px;
}

.formacion-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

}

.formacion-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

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

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(61, 203, 177, 0.1);
}

.w-100 {
    width: 100%;
}

/* Resources Section */
.resources-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.category-block {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-flex;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.resource-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.resource-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.resource-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-download:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* New Resource Category Grid */
.resource-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.resource-category-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.resource-category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.resource-category-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-weight: 300;
}

.resource-category-card h3 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin: 0;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-pill:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.resource-category-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* CV Section Styles */
.role-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.personal-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
}

.personal-info ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.personal-info li {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.personal-info li i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.cv-section {
    margin-top: 40px;
}

.cv-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.cv-section h3 i {
    color: var(--accent-color);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

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

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent-color);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(61, 203, 177, 0.2);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--white);
    background: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.timeline-content ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.timeline-content ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.capacitaciones-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.capacitaciones-list li {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent-color);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.capacitaciones-list li i {
    color: var(--accent-color);
    margin-top: 3px;
}

.capacitaciones-list li strong {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 8px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

.specialty-card {
    width: 100%;
    max-width: 500px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.specialty-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.specialty-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.specialty-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.specialty-card h5 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.specialty-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.specialty-card ul {
    list-style: none;
    padding: 0;
}

.specialty-card ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.specialty-card ul li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
    }

    .cta-container {
        flex-direction: column;
    }
    
    .cta-content {
        flex-direction: column;
    }
    
    .cta-image {
        width: 100%;
    }

    .about-grid, .contact-grid, .specialties-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .specialty-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }

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

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .trust-container {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-item {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade {
    animation: fadeIn 1.2s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 1.2s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 1.2s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

/* Innovative Benefits Section */
.benefits-innovative {
    padding: 30px 0;
    background: linear-gradient(to bottom, #ffffff, #f0f7f6);
}

.benefits-grid-innovative {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.benefit-card-innovative {
    background: var(--white);
    padding: 20px 20px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.01);
    position: relative;
    z-index: 1;
    flex: 1 1 230px;
    max-width: 280px;
}

.benefit-card-innovative:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(30, 58, 104, 0.12);
    border-color: var(--accent-color);
}

.benefit-icon-wrapper {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        4px 4px 8px rgba(0,0,0,0.02),
        -2px -2px 6px rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.02);
}

.benefit-card-innovative:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    box-shadow: 0 8px 16px rgba(30, 58, 104, 0.12);
    border-color: var(--accent-color);
}

.benefit-icon-wrapper i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.benefit-card-innovative:hover .benefit-icon-wrapper i {
    color: var(--white);
}

.benefit-card-innovative h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.benefit-card-innovative p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-innovative {
        padding: 60px 0;
    }
    .benefit-icon-wrapper {
        width: 120px;
        height: 120px;
    }
    .benefit-icon-wrapper i {
        font-size: 55px;
    }
}

/* ==========================================================================
   Floating Premium WhatsApp Button
   ========================================================================== */
.whatsapp-fab {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #1e3a68 0%, #3dcbb1 100%);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(30, 58, 104, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fab-float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.whatsapp-fab:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 104, 0.4);
    color: white !important;
}

.fab-icon-container {
    font-size: 26px;
    background: rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.fab-icon-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    animation: fab-pulse 2s infinite;
}

.fab-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fab-text-container .main-txt {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    line-height: 1.2;
    display: block;
}

.fab-text-container .sub-txt {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 400;
    display: block;
}

@keyframes fab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fab-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        padding: 0;
        width: 65px;
        height: 65px;
        justify-content: center;
        border-radius: 50%;
        bottom: 25px;
        right: 25px;
    }
    .fab-text-container {
        display: none !important;
    }
    .fab-icon-container {
        background: transparent;
        width: 100%;
        height: 100%;
    }
}


/* ==========================================================================
   CORPORATE (EMPRESAS) PREMIUM REDESIGN STYLES
   ========================================================================== */

/* Corporate Hero */
.corp-hero {
    position: relative;
    background: linear-gradient(135deg, #0a1128 0%, #1c315e 100%);
    color: #ffffff;
    padding: 160px 0 100px;
    overflow: hidden;
    z-index: 1;
}
.corp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/IMAGEN%201.jpeg') center/cover no-repeat;
    opacity: 0.15;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #fff;
    transition: transform 0.4s ease, background 0.4s ease;
    display: inline-block;
}
.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

/* Glow Button */
.btn-glow {
    background: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(61, 203, 177, 0.4);
    text-decoration: none;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}
.btn-glow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(61, 203, 177, 0.6);
    color: white;
}
.btn-glow:hover::before {
    left: 100%;
}

/* Corporate Service Cards */
.corp-service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.02);
}
.corp-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.corp-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.corp-service-card:hover::before {
    transform: scaleX(1);
}
.corp-service-card .icon-wrapper {
    width: 90px; height: 90px;
    margin: 0 auto 25px;
    background: rgba(61, 203, 177, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.corp-service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(13, 31, 60, 0.2);
}
.corp-service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}
.corp-service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.btn-sm-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid rgba(13, 31, 60, 0.1);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}
.corp-service-card:hover .btn-sm-outline {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Results Section Counters */
.results-section {
    background: url('../img/IMAGEN%202.jpeg') center/cover fixed no-repeat;
    position: relative;
    padding: 100px 0;
    z-index: 1;
}
.results-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 17, 40, 0.85); /* Dark blue overlay */
    z-index: -1;
}
.counter-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.counter-box:hover {
    transform: translateY(-10px);
    border-color: rgba(61, 203, 177, 0.5);
    background: rgba(255, 255, 255, 0.08);
}
.counter-icon {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.counter-box:hover .counter-icon {
    transform: scale(1.1);
}
.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.counter-number span {
    font-size: 2rem;
    color: var(--accent-color);
    margin-left: 2px;
}
.counter-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}
