/* ==========================================================================
   DESIGN SYSTEM - ASCENSORES ELEVACOM
   ========================================================================== */

:root {
    --primary: #0252D5;
    --primary-rgb: 2, 82, 213;
    --primary-hover: #003fb2;
    --primary-light: #e6f0ff;
    --dark-blue: #001B4B;
    --dark-blue-rgb: 0, 27, 75;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-color: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(2, 82, 213, 0.08);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Helpers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-weight: 700;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: #10b981;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
}

.btn-outline:hover {
    border-color: #10b981;
    color: #10b981;
    background-color: #ecfdf5;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-icon-whatsapp {
    color: #25d366;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.main-header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

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

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--dark-blue);
    line-height: 1.1;
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: -2px;
}

/* Desktop Menu */
.nav-menu {
    align-self: stretch;
}

.nav-menu > ul {
    display: flex;
    gap: 24px;
    align-items: stretch;
    height: 100%;
}

.nav-menu > ul > li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu > ul > li > a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
    padding: 8px 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

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

.nav-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu > ul > li > a:hover::after,
.nav-menu > ul > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

.dropdown-menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 12px 0;
    min-width: 220px;
    display: none !important; /* Managed by hover */
    flex-direction: column;
    gap: 0 !important;
    border: 1px solid var(--border-color);
    margin-top: 0;
}

.dropdown-menu-list::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background-color: transparent;
}

.dropdown:hover .dropdown-menu-list {
    display: flex !important;
}

.dropdown-menu-list li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dropdown-menu-list li a::after {
    display: none;
}

.dropdown-menu-list li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Attention Line */
.attention-line .phone-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-icon-box {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 8px rgba(2, 82, 213, 0.08);
}

.phone-icon-box svg {
    width: 20px;
    height: 20px;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text .label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.phone-text .number {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--white);
    z-index: 999;
    padding: 40px 24px;
    display: none;
    flex-direction: column;
    gap: 24px;
    box-shadow: inset 0 8px 10px -10px rgba(0,0,0,0.1);
}

.mobile-nav-overlay.open {
    display: flex;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.mobile-attention {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.mobile-attention-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.mobile-attention-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 160px 0 120px 0;
    position: relative;
    background-image: linear-gradient(to right, 
        #001B4B 0%, 
        #001B4B 38%, 
        rgba(0, 27, 75, 0.95) 52%, 
        rgba(0, 27, 75, 0.3) 75%, 
        rgba(0, 27, 75, 0) 100%
    ), var(--hero-bg-url);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero-container {
    display: flex;
    align-items: center;
    min-height: 520px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 580px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.line-decorator {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    display: inline-block;
    border-radius: 2px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--white);
}

.hero-title .highlight {
    color: var(--white);
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}


/* ==========================================================================
   FEATURES BAR
   ========================================================================== */

.features-bar-container {
    position: absolute;
    bottom: -65px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 16px 0;
}

.feature-card {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: rgba(2, 82, 213, 0.02);
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1);
    background-color: var(--primary);
    color: var(--white);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

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

/* Vertical divider lines on Desktop */
@media (min-width: 1025px) {
    .feature-card:not(:last-child) {
        border-right: 1px solid var(--border-color);
    }
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.feature-card-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    padding: 140px 0 100px 0;
    background-color: var(--white);
}

.services-header-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    align-items: stretch;
}

.services-intro {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.line-decorator-right {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    display: inline-block;
    border-radius: 2px;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
}

.section-title .highlight-blue {
    color: var(--primary);
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-color);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Services Cards */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.service-image-box {
    position: relative;
    height: 220px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: visible;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: var(--transition);
}

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

.service-badge-icon {
    position: absolute;
    bottom: -24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(2, 82, 213, 0.25);
    z-index: 2;
    border: 3px solid var(--white);
}

.service-badge-icon svg {
    width: 20px;
    height: 20px;
}

.service-card-body {
    padding: 36px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 800;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.service-link-arrow {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: var(--transition);
    width: max-content;
}

.service-card:hover .service-link-arrow {
    transform: translateX(6px);
}

.service-link-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

.show-desktop {
    display: inline-flex;
}

.show-mobile {
    display: none;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
    padding: 50px 0;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 20px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-icon-box {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon {
    width: 38px;
    height: 38px;
    stroke-width: 1.8px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   WHY CHOOSE US / ABOUT
   ========================================================================== */

.why-choose-us-section {
    padding: 100px 0;
    background-color: var(--white);
}

.why-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-image-column {
    position: relative;
}

.why-main-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 520px;
}

.why-content-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.why-checklist li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checklist-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-icon svg {
    width: 14px;
    height: 14px;
}

.checklist-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
}

/* CTA Card Box */
.cta-box-card {
    background: linear-gradient(135deg, #0252D5 0%, #001B4B 100%);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    box-shadow: 0 10px 25px rgba(2, 82, 213, 0.2);
    text-align: center;
}

.cta-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cta-headset-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-headset-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.cta-text-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.cta-card-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

.cta-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

.btn-cta-white {
    background-color: var(--white);
    color: #10b981;
    font-weight: 700;
    width: 100%;
}

.btn-cta-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.cta-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: var(--transition);
}

.btn-cta-white:hover .cta-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: #001B4B;
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0 0;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-logo {
    display: inline-flex;
    margin-bottom: 4px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.white-text {
    color: var(--white) !important;
}

.footer-about-text {
    line-height: 1.6;
}

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

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

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

.footer-info-socials {
    margin-top: 2px;
}

.footer-col-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a:hover {
    color: var(--white);
    transform: translateX(4px);
}

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

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    background-color: #001233;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ==========================================================================
   SUBPAGE HEADER / HERO
   ========================================================================== */
.subpage-hero {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    text-align: left;
}
.subpage-hero-content {
    position: relative;
    z-index: 2;
}
.subpage-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}
.subpage-title {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 12px;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}
.breadcrumbs a:hover {
    color: #10b981;
}
.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.4);
}
.breadcrumbs .current {
    color: #10b981;
    font-weight: 600;
}

/* ==========================================================================
   SERVICE & PROJECT DETAIL LAYOUT
   ========================================================================== */
.service-detail-section,
.project-detail-section,
.blog-detail-section,
.contact-page-section,
.plans-section,
.projects-list-section,
.blog-list-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.service-detail-grid,
.project-detail-grid,
.blog-detail-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
    align-items: start;
}
.service-main-content,
.project-main-content,
.blog-main-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.service-detail-image-box,
.project-detail-image-box,
.blog-detail-image-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
    height: 400px;
}
.service-detail-img,
.project-detail-img,
.blog-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-description-rich h2,
.project-description-box h2,
.blog-main-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.service-description-rich p,
.project-description-box p,
.blog-content-rich {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.features-checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 35px;
}
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.checklist-item .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}
.cta-inner-box {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border-left: 5px solid var(--primary);
}
.cta-inner-box h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}
.cta-inner-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.cta-inner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Sidebar Widgets */
.service-sidebar,
.project-sidebar,
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar-widget,
.sidebar-project-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}
.sidebar-services-list li {
    border-bottom: 1px solid var(--border-color);
}
.sidebar-services-list li:last-child {
    border-bottom: none;
}
.sidebar-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}
.sidebar-services-list li a:hover,
.sidebar-services-list li.active a {
    color: var(--primary);
    padding-left: 8px;
}
.arrow-right-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}
.sidebar-services-list li a:hover .arrow-right-icon {
    transform: translateX(4px);
}
.sidebar-info-card {
    background: linear-gradient(135deg, var(--dark-blue), #002e7d);
    border-radius: var(--border-radius);
    padding: 30px;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.sidebar-info-card h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.sidebar-info-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.sidebar-info-card .info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.sidebar-info-card .info-item:last-of-type {
    margin-bottom: 0;
}
.info-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
}
.sidebar-info-card .info-item span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sidebar-info-card .info-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
}

/* Project Meta sidebar */
.project-meta-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.project-meta-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.project-meta-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.meta-label {
    font-weight: 700;
    color: var(--dark-blue);
}
.meta-val {
    color: var(--text-color);
}

/* ==========================================================================
   PORTAFOLIO & BLOG GALLERY GRIDS
   ========================================================================== */
.section-intro-center {
    text-align: center;
    margin-bottom: 60px;
}
.empty-state {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}
.empty-icon {
    width: 64px;
    height: 64px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.empty-state h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}
.empty-state p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-gallery-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.project-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.project-gallery-image-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.project-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-gallery-card:hover .project-gallery-img {
    transform: scale(1.08);
}
.project-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 27, 75, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.project-gallery-card:hover .project-gallery-overlay {
    opacity: 1;
}
.btn-project-view {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #10b981;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: var(--transition);
}
.project-gallery-card:hover .btn-project-view {
    transform: translateY(0);
}
.project-gallery-body {
    padding: 24px;
}
.project-gallery-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.project-gallery-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.project-gallery-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}
.project-gallery-meta .meta-item svg {
    width: 14px;
    height: 14px;
}

.client-logos-section {
    margin-top: 70px;
    padding-top: 55px;
    border-top: 1px solid var(--border-color);
}

.client-logos-heading {
    margin-bottom: 34px;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.client-logo-card {
    min-height: 110px;
    padding: 22px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

/* ==========================================================================
   BLOG LAYOUT
   ========================================================================== */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.blog-card-image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}
.blog-card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(2, 82, 213, 0.25);
}
.blog-card-date .day {
    font-size: 1.2rem;
    font-weight: 800;
}
.blog-card-date .month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-author {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card-excerpt {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
}
.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}
.blog-card-link:hover svg {
    transform: translateX(4px);
}

.blog-meta-bar {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.blog-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.blog-meta-bar .meta-item svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   MAINTENANCE PLANS COMPARISON
   ========================================================================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.plan-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}
.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.plan-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.plan-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.plan-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.plan-price {
    color: var(--dark-blue);
}
.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: super;
}
.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
}
.plan-price .period {
    color: var(--text-light);
    font-size: 0.9rem;
}
.plan-body {
    flex-grow: 1;
    margin-bottom: 30px;
}
.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.feature-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ecfdf5;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.plan-features li span {
    font-size: 0.92rem;
    color: var(--text-color);
}

/* ==========================================================================
   CONTACT SECTION & ALERTS
   ========================================================================== */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.detail-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon-box svg {
    width: 24px;
    height: 24px;
}
.detail-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.detail-content p {
    color: var(--text-light);
    font-size: 0.92rem;
}
.map-iframe-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.contact-form-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.form-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-blue);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 82, 213, 0.1);
}

/* Alerts */
.alert {
    padding: 16px 24px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
}
.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ==========================================================================
   HOMEPAGE DYNAMIC SECTIONS HELPERS
   ========================================================================== */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}
.home-projects-section,
.home-blog-section,
.home-contact-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
}
.home-projects-section {
    background-color: var(--light-bg);
}
.home-blog-section {
    background-color: var(--white);
}
.home-contact-section {
    background-color: var(--light-bg);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .service-detail-grid,
    .project-detail-grid,
    .blog-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projects-gallery-grid,
    .blog-list-grid,
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-detail-image-box,
    .project-detail-image-box,
    .blog-detail-image-box {
        height: 300px;
    }

    .hero-section {
        background-image: linear-gradient(to bottom, 
            rgba(0, 27, 75, 0.98) 0%, 
            rgba(0, 27, 75, 0.92) 50%, 
            rgba(0, 27, 75, 0.75) 100%
        ), var(--hero-bg-url) !important;
        background-position: center center;
        padding-bottom: 60px;
        color: var(--white);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        min-height: 440px;
    }
    
    .hero-content {
        align-items: center;
        max-width: 100%;
    }
    
    .hero-tagline {
        justify-content: center;
    }
    
    .hero-desc {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .feature-card:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    .feature-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }
    
    .features-bar-container {
        position: static;
        margin-top: 40px;
    }

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

    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-intro {
        position: static;
        text-align: center;
        align-items: center;
    }
    
    .section-tagline {
        justify-content: center;
    }

    .show-desktop {
        display: none;
    }

    .show-mobile {
        display: inline-flex;
    }

    .services-mobile-btn-box {
        text-align: center;
        margin-top: 40px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item:not(:last-child) {
        border-right: none;
    }
    
    .stat-item {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-content-column {
        order: 1;
    }

    .why-image-column {
        max-width: 500px;
        margin: 0 auto;
        order: 2;
    }

    .cta-box-card {
        order: 3;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-gallery-grid,
    .blog-list-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .service-main-content,
    .project-main-content,
    .blog-main-content,
    .contact-form-box {
        padding: 24px;
    }

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

    .header-container {
        height: 70px;
    }
    
    .mobile-nav-overlay {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu,
    .attention-line {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        background-image: linear-gradient(to bottom, 
            rgba(0, 27, 75, 0.98) 0%, 
            rgba(0, 27, 75, 0.92) 60%, 
            rgba(0, 27, 75, 0.8) 100%
        ), var(--hero-bg-url) !important;
        background-position: center center;
        padding: 120px 0 80px 0;
        color: var(--white);
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .feature-card:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
        border-right: none;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-image-box {
        height: 180px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        justify-content: flex-start;
    }

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

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

/* ==========================================================================
   FLOATING WHATSAPP BUTTON WITH ANIMATIONS
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsapp-float-bounce 3.5s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-wiggle 7s ease-in-out infinite;
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

/* Pulse ripple animation wrapper */
.whatsapp-float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: -1;
    animation: whatsapp-ripple 2s infinite;
}

/* Tooltip call-to-action */
.whatsapp-float-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    box-shadow: 0 4px 15px rgba(0, 27, 75, 0.15);
    font-family: var(--font-heading);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-blue);
}

/* Hover behaviors */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #2feb75 0%, #15a191 100%);
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Keyframes for animations */

/* Floating movement */
@keyframes whatsapp-float-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Pulsing background ripple */
@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Eye-catching wiggle/shake */
@keyframes whatsapp-wiggle {
    0%, 90%, 100% {
        transform: rotate(0deg);
    }
    92% {
        transform: rotate(-12deg);
    }
    94% {
        transform: rotate(12deg);
    }
    96% {
        transform: rotate(-8deg);
    }
    98% {
        transform: rotate(8deg);
    }
}

/* Responsive Styling */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float-icon {
        width: 28px;
        height: 28px;
    }
    .whatsapp-float-tooltip {
        display: none;
    }
}

/* ==========================================================================
   NEW HOMEPAGE DESIGN CHANGES (ASCENSORES ELEVACOM)
   ========================================================================== */

/* Hero Split Design */
.hero-grid-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.hero-img-element {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}
.hero-actions .btn {
    border-radius: 4px;
    padding: 12px 24px;
    font-weight: 600;
}
.hero-actions .btn-quote {
    background-color: #10b981;
    color: var(--white);
}
.hero-actions .btn-quote:hover {
    background-color: #059669;
}
.hero-actions .btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}
.hero-actions .btn-whatsapp:hover {
    background-color: #128c7e;
}

/* Section 2: Pain Points */
.problems-section {
    padding: 80px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}
.problems-section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
}
.problems-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    text-align: center;
}
.problem-card {
    width: 145px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.problem-card:hover {
    transform: translateY(-5px);
}
.problem-icon-container {
    position: relative;
    width: 64px;
    height: 64px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    border: 1px solid var(--border-color);
}
.problem-svg {
    width: 30px;
    height: 30px;
    color: var(--dark-blue);
}
.problem-svg.engineer-icon {
    color: #0252D5;
}
.problem-warning-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background-color: #ef4444;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}
.problem-check-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background-color: #10b981;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}
.problem-card-text {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 500;
    max-width: 140px;
    margin: 0 auto;
}

/* Services 4 Column Grid */
.services-center-header {
    text-align: center;
    margin-bottom: 50px;
}
.services-center-header .section-title {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-weight: 800;
}
.services-center-header .section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Stats Bar Section */
.stats-bar-section {
    background-color: #001B4B;
    color: white;
    padding: 40px 0;
}
.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-bar-icon-box {
    color: #38bdf8;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-bar-icon-box svg {
    width: 36px !important;
    height: 36px !important;
}
.stat-bar-text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.stat-bar-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}
.stat-bar-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Casos de Éxito Horizontal Cards */
.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}
.project-gallery-card {
    display: flex !important;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.project-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.project-gallery-image-box {
    width: 40%;
    flex-shrink: 0;
}
.project-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-gallery-body {
    width: 60%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.project-gallery-title {
    font-size: 1.15rem;
    color: var(--dark-blue);
    font-weight: 700;
}
.btn-project-green {
    background-color: #10b981;
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-align: center;
    width: max-content;
    transition: var(--transition);
}
.btn-project-green:hover {
    background-color: #059669;
}
.btn-ver-todos {
    border-radius: 4px;
    font-weight: 700;
    background-color: #10b981;
    color: white;
}
.btn-ver-todos:hover {
    background-color: #059669;
}

/* Blog Horizontal Grid of 5 Cards */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
}
.blog-list-grid .blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    transition: var(--transition);
}
.blog-list-grid .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.blog-list-grid .blog-card-image-box {
    height: 140px;
}
.blog-list-grid .blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-list-grid .blog-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 12px;
}
.blog-list-grid .blog-card-title {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--dark-blue);
    font-weight: 700;
    height: 3.8em;
    overflow: hidden;
}
.blog-card-link-new {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}
.blog-card-link-new:hover {
    color: #059669;
    transform: translateX(4px);
}

/* Bottom CTA Section */
.bottom-cta-section {
    background-color: #001B4B;
    color: white;
    padding: 50px 0;
}
.bottom-cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.bottom-cta-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.bottom-cta-icon {
    color: #38bdf8;
    flex-shrink: 0;
}
.bottom-cta-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bottom-cta-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}
.bottom-cta-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    max-width: 650px;
    line-height: 1.5;
}
.btn-cta-whatsapp {
    background-color: #25d366;
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}
.btn-cta-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Header WhatsApp Button styling */
.btn-whatsapp-header {
    background-color: #25d366;
    color: var(--white) !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    display: inline-flex;
    align-items: center;
}
.btn-whatsapp-header:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

/* Footer redesign to Light Theme */
.main-footer {
    background-color: #f8fafc;
    color: var(--text-color);
    padding: 60px 0 0 0;
    font-size: 0.88rem;
    border-top: 1px solid var(--border-color);
}
.footer-logo-img {
    filter: none !important;
}
.footer-col-title {
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 700;
}
.footer-col-title::after {
    background-color: var(--primary);
}
.footer-links-list a {
    color: var(--text-color);
}
.footer-links-list a:hover {
    color: var(--primary);
}
.footer-contact-list li {
    color: var(--text-color);
}
.footer-contact-list .contact-icon {
    color: var(--primary);
}
.footer-info-socials a {
    color: #475569;
    border-color: var(--border-color);
}
.footer-bottom {
    background-color: #f1f5f9;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
}

.footer-map {
    width: min(100%, 520px);
    margin: 0 auto 36px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    line-height: 0;
}

.col-social .footer-map {
    width: 100%;
    margin: 0;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid-split {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-tagline {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-box {
        justify-content: center;
    }
    
    
    
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .projects-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .project-gallery-card {
        flex-direction: column;
    }
    .project-gallery-image-box {
        width: 100%;
        height: 200px;
    }
    .project-gallery-body {
        width: 100%;
    }
    
    .blog-list-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-list-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bottom-cta-flex {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .bottom-cta-left {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
    .main-footer {
        padding-top: 40px;
    }
    .footer-map {
        margin-bottom: 28px;
    }
    .footer-map iframe {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .services-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .blog-list-grid {
        grid-template-columns: 1fr !important;
    }
    .stats-bar-grid {
        grid-template-columns: 1fr;
    }
    .client-logos-grid {
        grid-template-columns: 1fr;
    }
    .client-logo-card {
        min-height: 96px;
    }
    
}
/* Asesoria Banner */
.asesoria-banner-section {
    background-color: #EAEAEA;
    padding: 60px 0;
    margin: 50px 0;
}

.asesoria-banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.asesoria-banner-content {
    flex: 1;
    max-width: 500px;
}

.asesoria-icon {
    width: 70px;
    height: 70px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.asesoria-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 500;
}

.asesoria-title strong {
    font-weight: 800;
}

.asesoria-desc {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.asesoria-btn {
    background-color: var(--dark-blue);
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

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

.asesoria-banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.asesoria-banner-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 450px;
}

@media (max-width: 768px) {
    .asesoria-banner-container {
        flex-direction: column;
        text-align: left;
    }
    
    .asesoria-banner-content {
        max-width: 100%;
    }
    
    .asesoria-banner-image {
        justify-content: center;
        margin-top: 30px;
    }
}
