/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #001b34;
    /* 60% usage */
    --accent-red: #ff162a;
    /* 30% usage */
    --accent-gold: #ffd700;
    /* 10% usage */
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-dark: rgba(0, 27, 52, 0.8);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    overflow-x: hidden;
}

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

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--primary-dark);
    box-shadow: 0 2px 20px rgba(0, 27, 52, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-links a.active {
    color: var(--accent-red);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-red);
    border-radius: 1px;
    width: 100% !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    z-index: -2;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    color: var(--white);
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-text {
    text-align: left;
}

.dynamic-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1.8s forwards;
}

.typewriter-text {
    display: inline-block;
    min-height: 1.5em;
    background: linear-gradient(45deg, var(--accent-red), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 22, 42, 0.3);
}

.cursor {
    display: inline-block;
    color: var(--accent-red);
    font-weight: bold;
    margin-left: 2px;
    animation: blink 1s infinite;
}

.hero-title {
    font-family: 'Crimson Text', serif;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeRight 1.5s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeRight 1.5s ease-out 0.8s forwards;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #D4A574;
    padding: 14px 28px;
    border: 2px solid #D4A574;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease-out 1.3s forwards;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #D4A574;
    transition: left 0.4s ease;
    z-index: -1;
}

.whatsapp-btn:hover::before {
    left: 0;
}

.whatsapp-btn:hover {
    color: var(--white);
    border-color: #D4A574;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Services Section */
.services {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 180px;
    height: 180px;
    background: #dc2626;
    top: 8%;
    right: 12%;
    animation: floatEnhanced 4s ease-in-out infinite;
}

.shape-2 {
    width: 140px;
    height: 140px;
    background: #2563eb;
    bottom: 15%;
    left: 8%;
    animation: floatEnhanced 5s ease-in-out infinite reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: #dc2626;
    top: 55%;
    right: 25%;
    animation: floatEnhanced 6s ease-in-out infinite;
}

.shape-4 {
    width: 90px;
    height: 90px;
    background: #2563eb;
    top: 25%;
    left: 15%;
    animation: floatEnhanced 7s ease-in-out infinite reverse;
}

.shape-5 {
    width: 110px;
    height: 110px;
    background: #dc2626;
    bottom: 45%;
    right: 8%;
    animation: floatEnhanced 5.5s ease-in-out infinite;
}

.shape-6 {
    width: 75px;
    height: 75px;
    background: #2563eb;
    top: 80%;
    left: 25%;
    animation: floatEnhanced 8s ease-in-out infinite reverse;
}

.shape-7 {
    width: 95px;
    height: 95px;
    background: #dc2626;
    top: 35%;
    right: 50%;
    animation: floatEnhanced 6.5s ease-in-out infinite;
}

.shape-8 {
    width: 85px;
    height: 85px;
    background: #2563eb;
    bottom: 65%;
    left: 35%;
    animation: floatEnhanced 7.5s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes floatEnhanced {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-intro {
    padding: 40px 0 80px;
    text-align: center;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.services-intro h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-intro p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-showcase {
    padding: 0 0 80px;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 22, 42, 0.08);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.service-item.clicked::before {
    left: 100%;
}

.service-item.clicked {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 50px rgba(255, 22, 42, 0.15);
    transform: translateY(-2px);
}

.service-item:nth-child(odd) {
    transition-delay: 0.1s;
}

.service-item:nth-child(even) {
    transition-delay: 0.2s;
}

.service-item:nth-child(3) {
    transition-delay: 0.3s;
}

.service-item:nth-child(4) {
    transition-delay: 0.4s;
}

.service-number {
    font-family: 'Crimson Text', serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-right: 40px;
    opacity: 0.3;
    min-width: 100px;
    position: relative;
    z-index: 2;
}

.service-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.service-icon-modern svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.service-item:hover .service-icon-modern {
    transform: rotate(5deg) scale(1.1);
}

.service-header h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.service-content-bottom {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.service-tag {
    background: rgba(0, 27, 52, 0.08);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-item:hover .service-tag {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
}

.service-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}

.service-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.service-whatsapp-btn svg {
    width: 20px;
    height: 20px;
}



.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(255, 22, 42, 0.15);
}

.service-item:hover::before {
    left: 0;
}


/* Nova CTA Section */
.cta-section {
    background:
        linear-gradient(135deg, rgba(0, 27, 52, 0.95) 0%, rgba(0, 27, 52, 0.98) 100%),
        linear-gradient(45deg, #001b34 0%, #0f172a 50%, #001b34 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 22, 42, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 22, 42, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    z-index: 2;
    animation: elegantSweep 12s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes elegantSweep {

    0%,
    100% {
        transform: translateX(-100%) skewX(-15deg);
    }

    50% {
        transform: translateX(100%) skewX(-15deg);
    }
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* Floating decorative elements */
.cta-section .floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.cta-decoration-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff162a, #ffd700);
    top: 15%;
    right: 10%;
    animation: floatElegant 6s ease-in-out infinite;
}

.cta-decoration-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ff162a);
    bottom: 20%;
    left: 5%;
    animation: floatElegant 8s ease-in-out infinite reverse;
}

.cta-decoration-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff162a, #ffd700);
    top: 60%;
    right: 25%;
    animation: floatElegant 7s ease-in-out infinite;
}

@keyframes floatElegant {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-25px) rotate(180deg);
        opacity: 0.2;
    }
}

.cta-content {
    text-align: left;
    position: relative;
    z-index: 4;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.cta-badge svg {
    width: 16px;
    height: 16px;
}

.cta-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-red);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 6;
}

.cta-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary-btn:hover::before {
    left: 100%;
}

.cta-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    background: #dc1626;
}

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 6;
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-text p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Animation class for CTA elements */
.cta-badge.animate,
.cta-content h2.animate,
.cta-content p.animate,
.cta-actions.animate,
.feature-item.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive para CTA Section */
@media (max-width: 768px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

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

    .cta-content h2 {
        font-size: 2.5rem;
    }

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

    .cta-features {
        gap: 20px;
    }
}

/* Scroll Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.animate,
.fade-left.animate,
.fade-right.animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 27, 52, 0.95), rgba(220, 38, 38, 0.15));
    backdrop-filter: blur(15px);
    animation: modalBackdropFadeIn 0.4s ease-out;
}

@keyframes modalBackdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 25px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--primary-dark), var(--accent-red));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 25px 25px 0 0;
}

.modal-content::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--accent-red), var(--primary-dark), var(--accent-red));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.15;
    filter: blur(4px);
}

@keyframes glowPulse {
    from {
        opacity: 0.2;
        transform: scale(1);
    }

    to {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: -200% 0;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-red) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 22, 42, 0.03) 50%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: sweep 8s ease-in-out infinite;
}

@keyframes sweep {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
    position: relative;
    z-index: 3;
}

@keyframes textShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.modal-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 4;
}

.modal-close::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), var(--primary-dark), var(--accent-red));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: rotate(90deg) scale(1.1);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal-body {
    padding: 40px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-detail {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 25px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 27, 52, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(40px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-detail:nth-child(1) {
    animation-delay: 0.1s;
}

.service-detail:nth-child(2) {
    animation-delay: 0.2s;
}

.service-detail:nth-child(3) {
    animation-delay: 0.3s;
}

.service-detail:nth-child(4) {
    animation-delay: 0.4s;
}

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

.service-detail:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 27, 52, 0.12),
        0 8px 25px rgba(220, 38, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-detail::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail:hover::after {
    opacity: 0.6;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-red), var(--primary-dark), var(--accent-red));
    border-radius: 25px 25px 0 0;
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-red), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow:
        0 12px 30px rgba(220, 38, 38, 0.25),
        0 4px 15px rgba(0, 27, 52, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-detail:hover .service-icon::before {
    opacity: 1;
    animation: iconShine 1.5s ease-in-out;
}

@keyframes iconShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-detail:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 15px 40px rgba(220, 38, 38, 0.35),
        0 6px 20px rgba(0, 27, 52, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-detail h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-red), var(--primary-dark));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 4s ease-in-out infinite;
}

@keyframes textGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.service-detail p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
    text-align: justify;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.service-feature {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    padding: 14px 18px;
    border-radius: 15px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 500;
    position: relative;
    border: 1px solid rgba(0, 27, 52, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.service-feature::after {
    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;
}

.service-feature:hover {
    background: linear-gradient(135deg, var(--accent-red), var(--primary-dark));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.service-feature:hover::after {
    left: 100%;
}

.service-feature::before {
    content: "✨";
    margin-right: 10px;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-red), var(--primary-dark));
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-red), var(--primary-dark));
}


/* Responsive Design */
@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.active a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        transform: translateX(-20px);
        opacity: 0;
        animation: slideInLeft 0.3s ease forwards;
    }

    .nav-links.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        animation-delay: 0.4s;
    }

    @keyframes slideInLeft {
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .nav-links.active a.active {
        background: rgba(255, 22, 42, 0.1);
        border-left: 4px solid var(--accent-red);
        padding-left: 20px;
    }

    .nav-links.active a.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo img {
        height: 60px;
    }

    /* Hero Section Mobile */
    .hero {
        height: 120vh;
    }

    .hero-video {
        height: 120vh;
    }

    .hero-overlay {
        height: 120vh;
    }

    .hero-video iframe {
        width: 100vw;
        height: 56.25vw;
        min-height: 120vh;
        min-width: 213.33vh;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        max-width: 100%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-cta {
        order: 2;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .dynamic-text {
        font-size: 1.3rem !important;
        margin-bottom: -10px;
        margin-top: 4vh;
        margin-left: 3vh;
    }

    .whatsapp-btn {
        font-size: 0.8rem;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
        margin-bottom: 30px;
    }

    /* Services Section Mobile */

    .services-intro {
        padding: 20px 0 40px;
    }

    .services-intro h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .services-intro p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .services-showcase {
        padding: 0 0 40px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .service-number {
        font-size: 3rem;
        margin-right: 0;
        margin-bottom: 20px;
        min-width: auto;
    }

    .service-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }

    .service-icon-modern {
        margin-right: 0;
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .service-icon-modern svg {
        width: 25px;
        height: 25px;
    }

    .service-header h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .service-content-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .service-list {
        justify-content: center;
        margin-bottom: 15px;
    }

    .service-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .service-whatsapp-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 80px 0;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .cta-features {
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-text h4 {
        font-size: 1.2rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    /* About Section Mobile */
    .about {
        padding: 60px 0;
        min-height: auto;
    }

    .about-header {
        margin-bottom: 40px;
    }

    .about-header h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .about-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .partners-modern {
        gap: 40px;
    }

    .partner-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .partner-photo {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }

    .partner-details {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        min-height: 350px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    .specialties-box,
    .education-box {
        padding: 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        min-height: 140px;
    }

    .specialties-box h4,
    .education-box h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .specialties-box ul {
        margin: 0;
        padding-left: 20px;
        list-style-type: disc;
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .specialties-box li {
        margin-bottom: 8px;
        font-size: 0.9rem;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
        word-wrap: break-word;
    }

    .education-item {
        margin-bottom: 10px;
    }

    .education-item strong {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .education-item span {
        font-size: 0.8rem;
        color: rgba(0, 27, 52, 0.7);
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 60px 0;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-hours {
        text-align: center;
        margin-top: 30px;
    }

    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    .modal-body {
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-detail {
        padding: 25px 20px;
    }

    /* Container Mobile */
    .container {
        padding: 0 15px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .dynamic-text {
        font-size: 1rem;
    }

    .services-intro h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }

    .contact-header h2 {
        font-size: 1.8rem;
    }

    .service-header h3 {
        font-size: 1.4rem;
    }

    .partner-photo {
        width: 150px;
        height: 150px;
    }

    .container {
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 15px;
        margin-top: 4vh;
    }

    .service-item {
        padding: 25px 15px;
    }

    .hero-form-card {
        padding: 25px 20px;
    }
}

/* About Section - Creative Design */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatAnimation 6s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold));
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-red));
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-dark), var(--accent-red));
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.element-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--accent-red), var(--primary-dark));
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.element-5 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-gold), var(--primary-dark));
    top: 80%;
    right: 50%;
    animation-delay: 3s;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid var(--accent-red);
    box-shadow: 0 4px 15px rgba(0, 27, 52, 0.2);
}

.contact .section-badge {
    background: var(--accent-red);
    color: white;
}

.about-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.highlight-text1 {
    background: #dc2626;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.partners-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
    align-items: stretch;
}

.partner-profile {
    position: relative;
}

.thomaz-profile {
    transform: translateY(-50px);
}

.rafael-profile {
    transform: translateY(50px);
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--accent-red));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.profile-header {
    padding: 40px 40px 20px;
    text-align: center;
    position: relative;
}

.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid transparent;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    padding: 4px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 22, 42, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card:hover .image-overlay {
    opacity: 1;
}

.profile-card:hover .profile-image img {
    transform: scale(1.1);
}

.profile-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.profile-badge svg {
    width: 24px;
    height: 24px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.profile-content {
    padding: 0 40px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-name {
    text-align: center;
    margin-bottom: 30px;
}

.profile-name h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-role {
    display: inline-block;
    background: rgba(255, 22, 42, 0.2);
    color: var(--accent-red);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 22, 42, 0.3);
}

.profile-expertise {
    margin-top: auto;
}

.profile-education {
    margin-bottom: 30px;
}

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.education-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.education-text strong {
    display: block;
    color: var(--white);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
}

.education-text span {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
}

.profile-expertise h4 {
    color: var(--accent-gold);
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    min-height: 120px;
    align-content: start;
}

.expertise-item {
    background: rgba(255, 22, 42, 0.1);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 15px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 22, 42, 0.2);
}

.expertise-item:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 22, 42, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .whatsapp-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .nav-logo img {
        height: 65px;
    }

    .about {
        padding: 60px 0;
        min-height: auto;
    }

    .about-header h2 {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .partners-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .thomaz-profile,
    .rafael-profile {
        transform: translateY(0);
    }

    .profile-card {
        margin: 0 15px;
    }

    .profile-header {
        padding: 25px 25px 15px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-content {
        padding: 0 25px 25px;
    }

    .profile-name h3 {
        font-size: 1.6rem;
    }

    .education-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .education-text strong {
        font-size: 0.9rem;
    }

    .education-text span {
        font-size: 0.8rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .expertise-item {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
        padding: 40px 0 30px;
    }

    .footer-brand {
        text-align: center;
        max-width: 100%;
    }

    .footer-logo img {
        height: 50px;
    }

    .footer-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        gap: 20px;
    }

    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
        visibility: visible !important;
    }

    .footer-column {
        display: block !important;
        visibility: visible !important;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        display: block !important;
        visibility: visible !important;
        position: relative;
    }

    .footer-column h4::after {
        content: '' !important;
        position: absolute !important;
        bottom: -8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 30px !important;
        height: 2px !important;
        background: var(--accent-red) !important;
        display: block !important;
        visibility: visible !important;
        z-index: 999 !important;
    }

    .footer-column ul {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-column ul li {
        margin-bottom: 10px;
        display: block !important;
        visibility: visible !important;
        width: 100%;
    }

    .footer-column ul li a {
        font-size: 0.95rem;
        display: block;
        padding: 5px 0;
        color: white !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .footer-contact {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 12px;
        visibility: visible !important;
    }

    .contact-info {
        justify-content: center;
        text-align: center;
    }

    .contact-info span a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-legal a {
        font-size: 0.85rem;
    }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Contact Form */
.contact-form-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    border: 1px solid rgba(0, 27, 52, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-red), #dc2626);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    margin-top: auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* Contact Info */
.contact-info-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    border: 1px solid rgba(0, 27, 52, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark), #1e293b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, var(--primary-dark), #1e293b);
}

.contact-details h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
    font-family: 'Source Sans Pro', sans-serif;
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-red);
}

.contact-hours {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    border-left: 4px solid var(--accent-red);
}

.contact-hours h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-hours p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #64748b;
    margin: 5px 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 400px;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
    visibility: visible !important;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: 'Source Sans Pro', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-red);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-red);
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info svg {
    color: var(--accent-red);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Hero Form Styles */
.hero-form {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.6s ease-out 1.2s forwards;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-form-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-align: center;
}

.hero-form-card p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #64748b;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

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

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(0, 27, 52, 0.1);
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.quick-contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.hero-submit-btn {
    width: 100%;
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.hero-submit-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CW Link Styling */
.cw-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.cw-link:hover {
    color: var(--accent-red) !important;
}

/* Btn WhatsApp */
#whatsapp .wtsapp:focus {
    border: 0;
    outline: 0;
}

#whatsapp .wtsapp {
    position: fixed;
    transition: all .5s ease;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: 0;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border: 0;
    z-index: 999;
    width: 60px;
    height: 60px;
    left: 25px;
    bottom: 25px;
}

#whatsapp .wtsapp:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/* Internal Pages Styles */
.hero-internal {
    background:
        linear-gradient(135deg, rgba(0, 27, 52, 0.4) 0%, rgba(30, 41, 59, 0.4) 50%, rgba(15, 23, 42, 0.4) 100%),
        url('../img/escritorio.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-internal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-internal .hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.hero-internal h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.hero-internal p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Page */
.services-page {
    padding: 100px 0;
    background: #f8fafc;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.services-intro h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 27, 52, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-red);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 27, 52, 0.15);
}

.service-icon {
    color: var(--accent-red);
    margin-bottom: 25px;
    text-align: center;
}

.service-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

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

.service-card ul li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.services-cta {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
}

.services-cta h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-left: 10vh;
}

/* Responsive Design for Internal Pages */
@media (max-width: 768px) {
    .hero-internal h1 {
        font-size: 2.5rem;
    }

    .hero-internal p {
        font-size: 1rem;
    }

    .services-intro h2 {
        font-size: 2.2rem;
    }

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

    .service-card {
        padding: 30px 25px;
    }

    .services-cta {
        padding: 40px 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }
}

/* Contact Page */
.contact-page {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-info-section p {
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 27, 52, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 27, 52, 0.12);
}

.contact-icon {
    color: var(--accent-red);
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-details p {
    margin: 5px 0;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-red);
}

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

.social-links a {
    padding: 8px 15px;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-dark);
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 27, 52, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 22, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 27, 52, 0.2);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-section {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 20px;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

/* About Page */
.about-page {
    padding: 100px 0;
    background: #f8fafc;
}

.about-story {
    margin-bottom: 100px;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lawyer-image {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    border-top: 4px solid var(--accent-red);
}

.lawyer-image img {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.lawyer-image p {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.lawyer-video {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    text-align: center;
    border-top: 4px solid var(--accent-red);
    position: relative;
    overflow: hidden;
}

.lawyer-video iframe {
    width: 100%;
    max-width: 300px;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    pointer-events: none;
}

.lawyer-video video {
    width: 100%;
    max-width: 300px;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 27, 52, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.video-overlay p {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Mission, Vision, Values */
.mvv-section {
    margin-bottom: 100px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 27, 52, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-red);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 27, 52, 0.15);
}

.mvv-icon {
    color: var(--accent-red);
    margin-bottom: 25px;
}

.mvv-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.mvv-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Team Section */
.team-section {
    margin-bottom: 100px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-intro h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.team-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.team-member {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 27, 52, 0.15);
}

.member-photo {
    text-align: center;
    margin-bottom: 25px;
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-red);
}

.member-info h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 8px;
}

.member-role {
    text-align: center;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.member-description {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.member-specialties span {
    background: var(--accent-red);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Why Choose Us */
.why-choose-section {
    margin-bottom: 80px;
}

.why-choose-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.reason-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 27, 52, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.12);
}

.reason-icon {
    color: var(--accent-red);
    margin-bottom: 20px;
}

.reason-item h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.reason-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About CTA */
.about-cta {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
}

.about-cta h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Partners Modern Layout */
.partners-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.partner-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.partner-photo {
    position: relative;
    height: 650px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 27, 52, 0.2);
    transition: all 0.5s ease;
}

.partner-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 27, 52, 0.3);
}

.partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s ease;
}

.partner-photo:hover img {
    transform: scale(1.03);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 27, 52, 0.9));
    padding: 40px 30px 30px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.name-badge h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.name-badge span {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 35px;
    border-left: 4px solid var(--accent-red);
    height: 380px;
    display: flex;
    align-items: stretch;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.specialties-box h4,
.education-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 8px;
}

.specialties-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialties-box li {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 20px;
}

.specialties-box li:before {
    content: "▪";
    color: var(--accent-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.specialties-box li:last-child {
    border-bottom: none;
}

.education-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.education-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.education-item span {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
}

/* Partners Modern Responsive */
@media (max-width: 1024px) {
    .partners-modern {
        gap: 40px;
        display: flex;
        flex-flow: column
    }

    .partner-photo {
        height: 500px;
        width: 750px;
    }

    .partner-details {
        padding: 30px;
        height: 340px;
        width: 750px;
    }

    .details-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .partners-modern {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 80px;
    }

    .partner-photo {
        height: 500px;
        width: auto;
    }

    .partner-details {
        padding: 25px;
        height: 590px;
    }

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

    .name-badge h3 {
        font-size: 1.8rem;
    }

    .specialties-box h4,
    .education-box h4 {
        font-size: 1rem;
    }

    .specialties-box li {
        font-size: 0.9rem;
    }

    .education-item strong {
        font-size: 0.9rem;
    }

    .education-item span {
        font-size: 0.85rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-text h2 {
        font-size: 2.2rem;
    }

    .team-intro h2,
    .why-choose-section h2 {
        font-size: 2.2rem;
    }

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

    .team-member {
        padding: 30px 25px;
    }

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

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-cta {
        padding: 40px 25px;
    }
}

/* Services Page Modern Layout */
.services-page-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-page-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 22, 42, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 27, 52, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.services-page-modern .container {
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 22, 42, 0.2);
}

.services-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.services-header p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.service-modern-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
    border-radius: 25px 25px 0 0;
}

.service-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 27, 52, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 600;
    color: rgba(255, 22, 42, 0.9);
    z-index: 1;
}

.service-modern-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-modern-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.service-modern-card:hover .service-modern-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.specialty-tag {
    background: rgba(0, 27, 52, 0.08);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-modern-card:hover .specialty-tag {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    transition: left 0.4s ease;
    z-index: -1;
}

.service-btn:hover::before {
    left: 0;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 27, 52, 0.2);
}

/* Process Section */
.process-section {
    margin-bottom: 80px;
}

.process-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-red);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 27, 52, 0.1);
    background: rgba(255, 255, 255, 1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.step-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Services Page Responsive */
@media (max-width: 1024px) {
    .services-modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-modern-card {
        padding: 30px;
    }

    .services-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .services-page-modern {
        padding: 80px 0;
    }

    .services-header {
        margin-bottom: 60px;
    }

    .services-header h2 {
        font-size: 2.2rem;
    }

    .services-header p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .services-modern-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 60px;
    }

    .service-modern-card {
        padding: 25px;
    }

    .service-modern-icon {
        width: 70px;
        height: 70px;
    }

    .service-modern-icon svg {
        width: 35px;
        height: 35px;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .process-section h2 {
        font-size: 2.2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-step {
        padding: 25px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== 404 ERROR PAGE STYLES ===== */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.error-visual {
    text-align: center;
    position: relative;
}

.error-number {
    font-size: 12rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(255, 22, 42, 0.2);
    background: linear-gradient(135deg, var(--accent-red), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-icon {
    color: var(--accent-red);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.error-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-suggestions {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-red);
}

.error-suggestions h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    padding: 8px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.error-suggestions li::before {
    content: "✓";
    color: var(--accent-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.error-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.error-actions .btn-primary:hover {
    background: #e6142a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 22, 42, 0.3);
}

.error-actions .btn-secondary {
    background: var(--text-dark);
    color: white;
}

.error-actions .btn-secondary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.error-actions .btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.error-actions .btn-outline:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

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

.quick-nav h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.nav-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    text-align: center;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
    text-decoration: none;
}

.nav-icon {
    color: var(--accent-red);
    margin-bottom: 15px;
}

.nav-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.nav-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 404 Responsive */
@media (max-width: 1024px) {
    .error-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .error-number {
        font-size: 10rem;
    }

    .error-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .error-404 {
        padding: 40px 0;
    }

    .error-number {
        font-size: 8rem;
    }

    .error-text h1 {
        font-size: 2rem;
    }

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

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

    .error-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-nav h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 6rem;
    }

    .error-text h1 {
        font-size: 1.8rem;
    }

    .error-suggestions {
        padding: 20px;
    }

    .nav-card {
        padding: 25px 15px;
    }
}

/* ===== SITEMAP PAGE STYLES ===== */
.sitemap-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 50px;
}

.sitemap-header h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sitemap-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e6142a;
}

.breadcrumb .separator {
    color: var(--text-muted);
    font-weight: 300;
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.sitemap-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sitemap-category {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sitemap-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-red);
}

.category-icon {
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.page-card:hover::before {
    transform: scaleY(1);
}

.page-card:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    text-decoration: none;
}

.page-icon {
    color: var(--accent-red);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 22, 42, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-card:hover .page-icon {
    background: var(--accent-red);
    color: white;
    transform: scale(1.1);
}

.page-content {
    flex: 1;
}

.page-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.page-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.page-url {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 500;
    opacity: 0.8;
}

.page-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.page-card:hover .page-arrow {
    color: var(--accent-red);
    transform: translateX(5px);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-card:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    color: var(--accent-red);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 22, 42, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--accent-red);
    color: white;
    transform: scale(1.1);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.info-detail {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 500;
    opacity: 0.8;
}

.sitemap-cta {
    margin-top: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-red), #ff4757);
    border-radius: 20px;
    padding: 50px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.sitemap-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Sitemap Responsive */
@media (max-width: 1024px) {
    .sitemap-header h1 {
        font-size: 3rem;
    }

    .pages-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-category {
        padding: 30px;
    }

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

@media (max-width: 768px) {
    .sitemap-page {
        padding: 60px 0;
    }

    .sitemap-header {
        margin-bottom: 40px;
    }

    .sitemap-header h1 {
        font-size: 2.5rem;
    }

    .sitemap-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .breadcrumb {
        margin-bottom: 30px;
        padding: 12px 15px;
    }

    .sitemap-grid {
        gap: 40px;
    }

    .sitemap-category {
        padding: 25px 20px;
    }

    .category-title {
        font-size: 1.8rem;
        gap: 12px;
    }

    .page-card {
        padding: 20px;
        gap: 15px;
    }

    .page-icon {
        width: 45px;
        height: 45px;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .sitemap-cta {
        margin-top: 50px;
        padding: 40px 25px;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sitemap-header h1 {
        font-size: 2.2rem;
    }

    .category-title {
        font-size: 1.6rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .page-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

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

    .cta-content h3 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* ===== ARTICLES SECTION ===== */
.articles {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.articles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.articles-background .floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.articles-background .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
    animation: float 6s ease-in-out infinite;
}

.articles-background .shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.articles-background .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.articles-background .shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.articles .container {
    position: relative;
    z-index: 2;
}

.articles-header {
    text-align: center;
    margin-bottom: 80px;
}

.articles-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.articles-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.articles-header .highlight-text {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.articles-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.articles-carousel-container {
    position: relative;
    margin-bottom: 60px;
    padding: 15px 0;
}

.articles-carousel {
    overflow: hidden;
    border-radius: 20px;
    padding: 15px 0;
    margin: -15px 0;
}

.articles-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.article-card {
    min-width: 350px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-10px);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.read-time svg {
    opacity: 0.7;
}

.read-more {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b91c1c;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.carousel-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #dc2626;
    transform: scale(1.2);
}

.articles-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 20px;
    color: white;
}

.articles-cta p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.articles-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.articles-cta-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: white;
}

/* Responsive Articles */
@media (max-width: 1024px) {
    .articles {
        padding: 80px 0;
    }

    .articles-header h2 {
        font-size: 2.5rem;
    }

    .article-card {
        min-width: 320px;
    }

    .articles-track {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .articles {
        padding: 60px 0;
    }

    .articles-header {
        margin-bottom: 50px;
    }

    .articles-header h2 {
        font-size: 2rem;
    }

    .articles-subtitle {
        font-size: 1.1rem;
    }

    .articles-carousel {
        overflow: hidden;
        padding: 15px 0;
        margin: -15px 0;
    }

    .articles-track {
        display: flex;
        gap: 20px;
        transition: transform 0.5s ease;
        padding: 0 20px;
    }

    .article-card {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        flex-shrink: 0;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .carousel-controls {
        justify-content: center;
        gap: 0;
        margin-top: 30px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-dots {
        display: flex;
        gap: 10px;
    }

    .articles-cta {
        padding: 30px 20px;
    }

    .articles-cta p {
        font-size: 1.1rem;
    }

    .articles-cta-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .articles-header h2 {
        font-size: 1.8rem;
    }

    .articles-carousel {
        overflow: hidden;
        padding: 15px 0;
        margin: -15px 0;
    }

    .articles-track {
        display: flex;
        gap: 15px;
        transition: transform 0.5s ease;
        padding: 0 15px;
    }

    .article-card {
        min-width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        flex-shrink: 0;
    }

    .carousel-controls {
        justify-content: center;
        gap: 0;
        margin-top: 25px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-dots {
        display: flex;
        gap: 8px;
    }
}

/* Hero CTA Styles */
.hero-cta {
    flex: 1;
    max-width: 450px;
    margin-left: 2rem;
}

.hero-cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-cta-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-highlight {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.benefit-item svg {
    color: #10b981;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.hero-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    margin-bottom: 2rem;
    width: 100%;
    justify-content: center;
}

.hero-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.cta-trust {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.trust-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.trust-item span {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        margin-left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }

    .hero-cta-card {
        padding: 2rem;
    }

    .hero-cta-card h3 {
        font-size: 1.5rem;
    }

    .cta-trust {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== HERO CTA LIMPO ===== */
.hero-cta {
    flex: 1;
    max-width: 420px;
    margin-left: 2rem;
}

.hero-cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* Header */
.cta-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Mensagem de Urgência */
.urgency-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fef3f2;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.warning-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-text {
    flex: 1;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.warning-text strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.highlight-text {
    color: #dc2626;
    font-weight: 600;
    font-style: italic;
}

/* Benefícios */
.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.95rem;
    color: #374151;
}

.check {
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Botão Principal */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-bottom: 1.5rem;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

/* Informações de Confiança */
.trust-info {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    color: #6b7280;
}

.trust-info strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-cta {
        margin-left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }

    .hero-cta-card {
        padding: 1.5rem;
    }

    .cta-header h3 {
        font-size: 1.3rem;
    }

    .urgency-message {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .warning-icon {
        align-self: center;
    }

    .trust-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===== ANIMAÇÕES E EFEITOS ===== */

/* Efeito de entrada do card */
.hero-cta-card {
    animation: slideInUp 0.8s ease-out;
}

/* Efeito de entrada dos elementos internos */
.cta-header {
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.urgency-message {
    animation: slideInLeft 0.7s ease-out 0.4s both;
}

.cta-benefits {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.cta-button {
    animation: bounceIn 0.8s ease-out 0.8s forwards;
    position: relative;
    overflow: hidden;
}

.trust-info {
    animation: fadeIn 0.5s ease-out 1s both;
}

/* Animação recorrente no ícone de aviso */
.warning-icon {
    animation: gentlePulse 3s ease-in-out infinite;
}

/* Animação recorrente no texto destacado */
.highlight-text1 {
    position: relative;
    display: inline-block;
    animation: subtleGlow 4s ease-in-out infinite;
    overflow: hidden;
}

.highlight-text1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    border-radius: 4px;
    animation: highlightSweep 3s ease-in-out infinite;
    z-index: -1;
}

/* Efeito shimmer no botão */

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    background: linear-gradient(135deg, #128c7e, #25d366) !important;
}

/* Animação nos checks dos benefícios */
.check {
    animation: checkPulse 2s ease-in-out infinite;
}

.benefit:nth-child(1) .check {
    animation-delay: 0s;
}

.benefit:nth-child(2) .check {
    animation-delay: 0.7s;
}

.benefit:nth-child(3) .check {
    animation-delay: 1.4s;
}

/* ===== KEYFRAMES ===== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    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 fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes subtleGlow {

    0%,
    100% {
        color: #dc2626;
        text-shadow: none;
    }

    50% {
        color: #ef4444;
        text-shadow: 0 0 8px rgba(220, 38, 38, 0.3);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes buttonHover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

@keyframes checkPulse {

    0%,
    100% {
        transform: scale(1);
        color: #10b981;
    }

    50% {
        transform: scale(1.2);
        color: #059669;
    }
}

@keyframes highlightSweep {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* ===== EFEITOS HOVER ADICIONAIS ===== */

.benefit {
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateX(5px);
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem;
}

.urgency-message:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* ===== RESPONSIVO PARA ANIMAÇÕES ===== */
@media (max-width: 768px) {
    .hero-cta-card {
        animation: slideInUp 0.6s ease-out;
    }

    .cta-header,
    .urgency-message,
    .cta-benefits,
    .cta-button,
    .trust-info {
        animation-duration: 0.4s;
    }
}

/* Reduzir animações para usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== CONTACT WHATSAPP CTA ===== */
.contact-whatsapp-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.contact-cta-card .cta-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-cta-card .cta-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.contact-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    font-size: 1rem;
    color: #374151;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.contact-options {
    margin-bottom: 2rem;
}

.primary-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.primary-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.alternative-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.alternative-contact span {
    font-size: 0.9rem;
    color: #6b7280;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    color: #3b82f6;
    transform: scale(1.05);
}

.contact-trust {
    display: flex;
    justify-content: space-around;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-trust .trust-item {
    text-align: center;
}

.contact-trust .trust-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.contact-trust .trust-item span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Responsivo */
@media (max-width: 768px) {
    .contact-whatsapp-section {
        padding: 1.5rem;
    }

    .contact-cta-card {
        padding: 2rem;
    }

    .contact-cta-card .cta-header h2 {
        font-size: 1.75rem;
    }

    .contact-benefits {
        grid-template-columns: 1fr;
    }

    .contact-trust {
        flex-direction: column;
        gap: 1rem;
    }

    .alternative-contact {
        margin-top: 1rem;
    }
}