:root {
    --primary: #00A878; /* Verde principal */
    --primary-light: #E6F5F1;
    --secondary: #FF6B35; /* Naranja */
    --secondary-light: #FFECE5;
    --dark: #1A202C;
    --gray: #6C757D;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #00A878, #00C9A1);
    --gradient-secondary: linear-gradient(135deg, #FF6B35, #FF8E53);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    position: relative;
    color: var(--dark);
    font-weight: 500;
    margin: 0 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 30%;
}

/* --- Botones --- */
.btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #008a62;
    border-color: #008a62;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: #e65c29;
    border-color: #e65c29;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

/* --- Page Header (para páginas internas) --- */
.page-header {
    padding: 8rem 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
}

.page-header .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb-item.active { color: var(--white); }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
    background: url('../img/holajob-empleos.webp') no-repeat center center/cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 32, 44, 0.8) 0%, rgba(26, 32, 44, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Secciones --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.about-section {
    padding: 6rem 0;
}

.about-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* --- CV Service Section --- */
.cv-service-section {
    padding: 6rem 0;
    background-color: var(--light);
}

.cv-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.cv-card img {
    object-fit: cover;
    height: 100%;
}

/* --- Ipsos Section --- */
.ipsos-section {
    padding: 5rem 0;
}

.ipsos-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.ipsos-card h3 {
    color: var(--white);
}

.ipsos-img {
    width: 120px;
    border-radius: 10px;
}

/* --- Job Offer Section --- */
.job-offer-section {
    padding: 6rem 0;
    background-color: var(--light);
}

.offer-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.offer-img {
    border-radius: 12px;
}

/* --- WhatsApp Section --- */
.whatsapp-section {
    padding: 5rem 0;
    background-color: var(--primary-light);
}

.whatsapp-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

/* --- Estilos Página Empleos --- */
.job-search-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.job-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.job-card-title {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Estilos Página CV --- */
.benefit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.stats-item {
    text-align: center;
    padding: 20px;
}
.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}
.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.faq-question {
    background: var(--white);
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.faq-answer {
    padding: 15px;
    background: #fdfdff;
    display: none;
}
.price-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
    background: var(--white);
}
.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}
.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* --- Estilos Página Blog --- */
.blog-header {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
}
.blog-header h1 { color: white; }

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.article-img-container {
    height: 250px;
    overflow: hidden;
}
.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-img {
    transform: scale(1.05);
}
.article-body { padding: 2rem; }
.article-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-light);
    color: var(--primary);
}
.article-title {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.article-title:hover { color: var(--primary); }
.article-meta { color: var(--gray); font-size: 0.9rem; }

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 1.5rem;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.category-list a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.category-list a:hover { color: var(--primary); }

/* --- Estilos para artículos expandidos del blog --- */
.article-full-content {
    padding: 2rem;
    background-color: var(--light);
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
}
.article-full-content h5 { color: var(--primary); }