/* ========== VARIABLES ========== */
:root {
    --navy-dark: #0a1628;
    --navy-blue: #1a3a52;
    --steel-blue: #2e5266;
    --orange-accent: #d91629;
    --gold-accent: #d91629;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-700: #495057;
    --gray-900: #212529;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ========== TOP BAR ========== */
.top-info-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--orange-accent);
}

.top-info-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.info-items {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--orange-accent);
    font-size: 14px;
}

.top-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-actions a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-actions a:hover {
    color: var(--orange-accent);
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.lang-switch a {
    padding: 2px 8px;
    font-weight: 500;
    font-size: 12px;
}

/* ========== HEADER ========== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 85px;
}

.logo-container img {
    height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

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

.main-nav a:hover {
    color: var(--orange-accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--orange-accent);
}

/* Dropdown Menu */
.main-nav .has-dropdown {
    position: relative;
}

.main-nav .has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav .has-dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s;
}

.main-nav .has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin-top: 10px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--orange-accent);
    border-left-color: var(--orange-accent);
    padding-left: 30px;
}

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

.header-cta {
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 22, 41, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--navy-dark);
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    height: 35vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    background-color: var(--navy-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(10, 22, 40, 0.85) 0%,
            rgba(26, 58, 82, 0.75) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(217, 22, 41, 0.15), transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(217, 22, 41, 0.1), transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    opacity: 0.9;
}

.hero-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-breadcrumb a:hover {
    color: var(--orange-accent);
}

.hero-breadcrumb span {
    opacity: 0.6;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-title .accent {
    color: var(--orange-accent);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========== SECTION STYLES ========== */
.content-section {
    padding: 100px 0;
}

.section-dark {
    background: var(--navy-dark);
    color: var(--white);
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== SERVICE CARD SECTION ========== */
.services-intro-section {
    padding: 50px 0;
    background: var(--white);
    position: relative;
}

.services-intro-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-accent), #e63946);
}

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

.services-intro h2 {
    font-size: 1.8rem;
    color: var(--gray-700);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.services-intro h2::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange-accent);
    margin: 0 auto 20px;
}

.services-intro p {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.service-card {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.service-card-wrapper {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.94) 0%,
        rgba(26, 58, 82, 0.88) 50%,
        rgba(10, 22, 40, 0.94) 100%);
    z-index: 1;
}

.service-card-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(217, 22, 41, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(217, 22, 41, 0.06), transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Variante con fondo blanco */
.service-card.light-bg .service-card-wrapper::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.97) 0%,
        rgba(248, 249, 250, 0.98) 50%,
        rgba(255, 255, 255, 0.97) 100%);
}

.service-card.light-bg .service-card-wrapper::after {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(217, 22, 41, 0.04), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(10, 22, 40, 0.03), transparent 50%);
}

.service-card.light-bg .service-text {
    color: var(--gray-900);
}

.service-card.light-bg .service-text h3 {
    color: var(--navy-dark);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card.light-bg .service-text p {
    color: var(--gray-700);
    text-shadow: none;
}

.service-card.light-bg .service-number {
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
}

.service-card.light-bg .service-label {
    background: linear-gradient(135deg, rgba(217, 22, 41, 0.08), rgba(217, 22, 41, 0.12));
    border-color: var(--orange-accent);
    color: var(--orange-accent);
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.15);
}

.service-card.light-bg .service-label:hover {
    background: linear-gradient(135deg, rgba(217, 22, 41, 0.15), rgba(217, 22, 41, 0.2));
}

.service-card.light-bg .service-feature-item {
    background: rgba(217, 22, 41, 0.05);
    border-left-color: var(--orange-accent);
}

.service-card.light-bg .service-feature-item:hover {
    background: rgba(217, 22, 41, 0.1);
}

.service-card.light-bg .service-feature-item span {
    color: var(--gray-900);
}

/* Variante con fondo semi-claro */
.service-card.medium-bg .service-card-wrapper::before {
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.75) 0%,
        rgba(26, 58, 82, 0.65) 50%,
        rgba(10, 22, 40, 0.75) 100%);
}

.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.service-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transition: transform 8s ease;
}

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

.service-card-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 50px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.service-card:nth-child(even) .service-card-content {
    grid-template-columns: 1fr 1fr;
}

.service-text {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: 7rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

.service-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(217, 22, 41, 0.15), rgba(217, 22, 41, 0.25));
    border: 2px solid var(--orange-accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.2);
    transition: all 0.3s ease;
}

.service-label:hover {
    background: linear-gradient(135deg, rgba(217, 22, 41, 0.3), rgba(217, 22, 41, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 22, 41, 0.3);
}

.service-text h3 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.service-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    max-width: 600px;
}

.service-image-feature {
    position: relative;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(217, 22, 41, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-image-feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(217, 22, 41, 0.2);
}

.service-image-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image-feature:hover img {
    transform: scale(1.1);
}

.service-image-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(217, 22, 41, 0.25) 0%,
        transparent 40%,
        rgba(10, 22, 40, 0.3) 100%);
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.6s ease;
}

.service-image-feature:hover::before {
    opacity: 0.6;
}

.service-image-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--orange-accent);
    transition: all 0.3s ease;
}

.service-feature-item:hover {
    background: rgba(217, 22, 41, 0.2);
    border-left-width: 5px;
    transform: translateX(5px);
}

.service-feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Alternate layout for even cards */
.service-card:nth-child(even) .service-card-content {
    direction: rtl;
}

.service-card:nth-child(even) .service-text {
    direction: ltr;
}

/* ========== MODERN FOOTER ========== */
.modern-footer {
    background: linear-gradient(180deg, var(--navy-dark) 0%, #050d18 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-top-line {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--orange-accent) 20%, 
        var(--orange-accent) 80%, 
        transparent 100%);
    box-shadow: 0 2px 10px rgba(217, 22, 41, 0.3);
}

.footer-content {
    padding: 80px 0 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.footer-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin: 0;
}

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

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--orange-accent);
    border-color: var(--orange-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217, 22, 41, 0.3);
}

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

.footer-links-col h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange-accent);
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-col ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links-col ul li a:hover {
    color: var(--orange-accent);
    padding-left: 10px;
}

.footer-links-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.location-col h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-flag {
    font-size: 2rem;
    line-height: 1;
}

.location-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-col ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.location-col ul li:hover {
    color: var(--white);
    padding-left: 5px;
}

.location-col ul li i {
    color: var(--orange-accent);
    font-size: 16px;
    width: 18px;
    flex-shrink: 0;
}

.location-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-embed {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-embed:hover {
    filter: grayscale(0%) contrast(1);
}

.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-modern p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--orange-accent);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 968px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-locations {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        height: 60px;
    }

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

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .service-card-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 30px;
    }

    .service-card:nth-child(even) .service-card-content {
        direction: ltr;
        grid-template-columns: 1fr;
    }

    .service-image-feature {
        height: 350px;
        transform: perspective(1000px) rotateY(0deg);
    }

    .service-text h3 {
        font-size: 2.5rem;
    }

    .service-card-wrapper {
        min-height: auto;
    }
}

@media (max-width: 968px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }

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

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

    .service-text h3 {
        font-size: 2rem;
    }

    .service-number {
        font-size: 4rem;
    }

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

    .service-card-content {
        padding: 50px 25px;
    }

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

@media (max-width: 640px) {
    .hero-section {
        height: 30vh;
        min-height: 250px;
    }

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

    .content-section {
        padding: 60px 0;
    }

    .service-image-feature {
        height: 280px;
    }

    .service-text h3 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 1rem;
    }

    .service-number {
        font-size: 3rem;
    }

    .service-card-content {
        padding: 40px 20px;
        gap: 30px;
    }

    .info-items {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========== INTRO SECTION (EMPRESA) ========== */
.intro-section-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.intro-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('img/empresa.png') center right/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.intro-section-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(248, 249, 250, 1) 0%,
        rgba(248, 249, 250, 0.95) 20%,
        rgba(248, 249, 250, 0.7) 50%,
        transparent 100%);
    z-index: 1;
}

.intro-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    padding: 100px 0;
}

.intro-content {
    max-width: 700px;
    position: relative;
}

.intro-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.3);
}

.intro-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--navy-dark);
    line-height: 1.1;
    position: relative;
}

.intro-content .highlight {
    color: var(--orange-accent);
    position: relative;
    display: inline-block;
}

.intro-content .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(217, 22, 41, 0.15);
    z-index: -1;
}

.intro-content > p {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 50px;
    max-width: 650px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 16px;
    border: 2px solid rgba(217, 22, 41, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-accent), #e63946);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(217, 22, 41, 0.2);
    border-color: var(--orange-accent);
    background: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange-accent);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 600;
    line-height: 1.4;
}

.intro-decorative-shape {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 22, 41, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.intro-image-float {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 500px;
    z-index: 1;
    pointer-events: none;
}

.intro-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
}

/* ========== MISSION & VISION ========== */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-card {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange-accent), var(--gold-accent));
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-icon i {
    font-size: 36px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--navy-dark);
}

.mv-card p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ========== VALUES SECTION ========== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange-accent);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.value-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value-item:hover {
    border-color: var(--orange-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 48px;
    color: var(--orange-accent);
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--navy-dark);
}

.value-item p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== CERTIFICATIONS ========== */
.cert-section {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 0;
}

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

.cert-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cert-content p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.cert-logo {
    background: #0a1628;
    padding: 30px 40px;
    border-radius: 8px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.cert-logo:hover {
    transform: scale(1.05);
}

.cert-logo img {
    max-width: 500px;
    object-fit: contain;
}

/* ========== TEAM SECTION ========== */
.team-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.org-chart-container {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.org-chart-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 1200px) {
    .intro-content h2 {
        font-size: 2.8rem;
    }

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

    .intro-image-float {
        width: 50%;
        height: 400px;
    }

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

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .intro-content h2 {
        font-size: 2.2rem;
    }

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

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .intro-image-float {
        display: none;
    }

    .intro-section-wrapper::before {
        opacity: 0.08;
        width: 100%;
    }

    .intro-grid {
        padding: 60px 0;
    }

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

    .cert-logos {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 35px 25px;
    }

    .org-chart-container {
        padding: 25px;
    }
}


/* ========== HERO COMPACT FOR ENERGIA ========== */
.hero-section.compact {
    height: 35vh;
    min-height: 280px;
}

.hero-section.compact .hero-title {
    font-size: 4rem;
    margin-bottom: 0;
}


/* ========== SOCIAL RESPONSIBILITY SECTION ========== */
.social-responsibility-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.social-responsibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(217, 22, 41, 0.1), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(217, 22, 41, 0.08), transparent 50%);
    pointer-events: none;
}

.social-responsibility-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.social-responsibility-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    box-shadow: 0 10px 40px rgba(217, 22, 41, 0.3);
}

.social-responsibility-icon i {
    font-size: 48px;
    color: var(--white);
}

.social-responsibility-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 800;
}

.social-responsibility-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-accent), #e63946);
    margin: 25px auto 0;
}

.social-responsibility-text {
    font-size: 1.15rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 40px;
    font-weight: 300;
}

.social-responsibility-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

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

.sr-highlight:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--orange-accent);
}

.sr-highlight-icon {
    font-size: 42px;
    color: var(--orange-accent);
    margin-bottom: 20px;
}

.sr-highlight h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.sr-highlight p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .social-responsibility-highlights {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-responsibility-content h2 {
        font-size: 2.2rem;
    }

    .social-responsibility-text {
        font-size: 1.05rem;
    }
}


/* ========== PROJECTS PAGE ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--orange-accent), #e63946);
    transition: height 0.4s ease;
}

.project-card:hover::before {
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(217, 22, 41, 0.2);
}

.project-card-body {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 25px;
    line-height: 1.4;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
    flex-grow: 1;
}

.project-view-btn {
    margin-top: auto;
}

.project-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.project-detail-item i {
    color: var(--orange-accent);
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.project-detail-item span {
    font-weight: 500;
    line-height: 1.4;
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.project-view-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-blue));
    color: var(--white);
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 28px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--orange-accent);
    transform: rotate(90deg);
}

.modal-year {
    display: inline-block;
    background: var(--orange-accent);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-body {
    padding: 40px;
}

.modal-info-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.modal-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modal-info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-info-icon i {
    color: var(--white);
    font-size: 20px;
}

.modal-info-content h4 {
    font-size: 0.85rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-info-content p {
    font-size: 1.1rem;
    color: var(--navy-dark);
    font-weight: 600;
    margin: 0;
}

.modal-description {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--orange-accent);
}

.modal-description h4 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-description p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

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

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

/* Filters */
.projects-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--orange-accent);
    color: var(--orange-accent);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    border-color: var(--orange-accent);
    color: var(--white);
}

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

    .modal-content {
        width: 95%;
    }

    .modal-header,
    .modal-body {
        padding: 25px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}


/* ========== PQR FORM ========== */
.pqr-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

.form-group label {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

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

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

.form-group input[type="file"] {
    padding: 10px;
    border-style: dashed;
}

.form-help {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-style: italic;
}

.form-submit {
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 22, 41, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 60px 40px;
    max-width: 500px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 50px;
    color: var(--white);
}

.success-modal h2 {
    font-size: 2rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.success-modal p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-close-btn {
    background: var(--navy-dark);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--orange-accent);
    transform: translateY(-2px);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pqr-form-container {
        padding: 30px 20px;
    }

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

    .success-modal {
        padding: 40px 25px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
    }

    .success-icon i {
        font-size: 40px;
    }
}


/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-blue));
    padding: 30px;
    border-radius: 16px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(217, 22, 41, 0.2), transparent);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--orange-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-card-icon i {
    font-size: 28px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

.contact-card-details i {
    color: var(--orange-accent);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-social {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 16px;
}

.contact-social h4 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

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

.social-link-contact {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link-contact:hover {
    background: var(--orange-accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(217, 22, 41, 0.3);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--navy-dark);
    margin-bottom: 30px;
}

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

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}


/* ========== HOME PAGE - MODERN DESIGN ========== */

/* Hero Section */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.95) 0%,
        rgba(26, 58, 82, 0.85) 50%,
        rgba(10, 22, 40, 0.90) 100%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

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

.home-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box-vertical {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box-vertical:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--orange-accent);
    transform: translateX(-5px);
}

.stat-box-vertical .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-box-vertical .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.4;
}

.home-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange-accent), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.home-hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(217, 22, 41, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(217, 22, 41, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--orange-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 32px;
    color: var(--white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Section */
.home-stats {
    background: var(--white);
    padding: 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.home-stats .intro-stats {
    margin-top: 0;
}

/* Services Section */
.home-services {
    background: var(--gray-100);
    padding: 120px 0;
}

.servicesSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.servicesSwiper .service-slide {
    display: flex;
    flex-direction: column;
}

.servicesSwiper .service-slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servicesSwiper .service-slide-content p {
    flex: 1;
}

.service-slide {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.service-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-slide-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.service-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-slide:hover .service-slide-image img {
    transform: scale(1.1);
}

.service-slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.service-slide-content {
    padding: 35px;
}

.service-slide-content h3 {
    font-size: 1.8rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.service-slide-content p {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-accent);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* Clients Section */
.home-clients {
    background: var(--white);
    padding: 100px 0;
}

.client-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Projects Section */
.home-projects {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-blue));
    padding: 120px 0;
    color: var(--white);
}

.home-projects .section-header h2,
.home-projects .section-header p {
    color: var(--white);
}

.projectsSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.project-slide {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.project-slide:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--orange-accent);
    transform: translateY(-5px);
}

.project-slide-year {
    display: inline-block;
    background: var(--orange-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    align-self: flex-start;
}

.project-slide h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-slide-client {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-slide-client i {
    color: var(--orange-accent);
    flex-shrink: 0;
}

.project-slide-category {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: auto;
}

.home-projects-cta {
    text-align: center;
    margin-top: 60px;
}

/* Swiper Customization */
.swiper {
    padding: 20px 0 60px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--orange-accent);
    width: 30px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-accent);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.clientsSwiper {
    padding: 40px 0;
}

.clientsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 968px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .home-hero-stats {
        order: -1;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }

    .stat-box-vertical {
        min-width: 150px;
        padding: 20px;
    }

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

    .stat-box-vertical .stat-label {
        font-size: 0.85rem;
    }

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

    .home-hero-text {
        font-size: 1.05rem;
    }

    .home-hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-slide-image {
        height: 250px;
    }
}


/* ========== POLICIES PAGE ========== */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.policy-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.policy-card-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-blue));
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217, 22, 41, 0.2), transparent);
}

.policy-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 1;
}

.policy-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.policy-card-body p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-policy {
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.3);
    width: 100%;
}

.btn-policy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 22, 41, 0.4);
}

.btn-policy i {
    font-size: 1.1rem;
}

/* Policy Modal */
.policy-modal {
    max-width: 600px;
    padding: 0;
}

.policy-modal .modal-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-blue));
    color: var(--white);
    padding: 40px;
    text-align: center;
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.policy-modal .modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.policy-modal .modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.policy-modal .modal-body {
    padding: 40px;
}

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

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

.policy-modal .form-group input,
.policy-modal .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.policy-modal .form-group input:focus,
.policy-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(217, 22, 41, 0.1);
}

.policy-modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 768px) {
    .policies-grid {
        grid-template-columns: 1fr;
    }

    .policy-modal {
        width: 95%;
    }

    .policy-modal .modal-header,
    .policy-modal .modal-body {
        padding: 25px;
    }
}


/* ========== HOME CERTIFICATIONS SECTION (LIGHT) ========== */
.home-cert-section-light {
    background: var(--white);
    padding: 80px 0;
}

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

.home-cert-text h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 35px;
    position: relative;
}

.home-cert-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-accent), #e63946);
    margin-top: 15px;
}

.cert-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--orange-accent);
}

.cert-item h3 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-item h3 i {
    color: var(--orange-accent);
}

.cert-item p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

.home-cert-images {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.home-cert-images img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.home-cert-images img:first-child {
    background: var(--navy-dark);
    padding: 20px;
}

.home-cert-images img:last-child {
    background: var(--white);
    padding: 20px;
}

.home-cert-images img:hover {
    transform: scale(1.02);
}

@media (max-width: 968px) {
    .home-cert-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .home-cert-text h2 {
        font-size: 2rem;
    }
    
    .home-cert-images {
        order: -1;
    }
}

/* ========== SMALLER HOME HERO ========== */
.home-hero {
    min-height: 600px;
    height: auto;
}

.home-hero-grid {
    padding: 60px 0;
}

@media (max-width: 968px) {
    .home-hero {
        min-height: 500px;
    }
    
    .home-hero-grid {
        padding: 40px 0;
    }
}

@media (max-width: 640px) {
    .home-hero {
        min-height: 450px;
    }
}


/* ========== MODAL IMAGE ========== */
.modal-image-container {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

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


/* ========== PROJECT VIEW BUTTON SMALL ========== */
.project-view-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange-accent), #e63946);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

.project-view-btn-small:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(217, 22, 41, 0.4);
}

.project-view-btn-small i {
    font-size: 0.9rem;
}


/* ========== QUOTE PAGE ========== */
.quote-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.quote-intro h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.quote-intro p {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.quote-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 30px;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h3 i {
    color: var(--orange-accent);
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .quote-form-container {
        padding: 30px 20px;
    }
    
    .quote-intro h2 {
        font-size: 1.8rem;
    }
}
