        :root {
            --gold: #b8a939;
            --gold-dark: #9a8c2e;
            --gold-light: #d4c94a;
            --dark: #1a1a1a;
            --dark-gray: #2d2d2d;
            --medium-gray: #4a4a4a;
            --light-gray: #f5f5f5;
            --white: #ffffff;
        }

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

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
        }

        /* ==================== HEADER ==================== */
        .navbar {
            padding: 1rem 0;
            background: var(--white);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-text {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 2.5rem;
            color: var(--dark);
            letter-spacing: 2px;
        }

        .logo-text .drop {
            color: var(--gold);
            position: relative;
        }

        .logo-subtitle {
            font-size: 0.65rem;
            letter-spacing: 3px;
            color: var(--medium-gray);
            text-transform: uppercase;
            margin-top: -5px;
        }

        .nav-link {
            font-weight: 500;
            color: var(--dark) !important;
            padding: 0.5rem 1.5rem !important;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--gold) !important;
        }

        .nav-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 3px;
            background: var(--gold);
        }

        .btn-login {
            background: transparent;
            border: 2px solid var(--dark);
            color: var(--dark);
            padding: 0.5rem 1.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-login:hover {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--white);
        }

        .header-line {
            height: 4px;
            background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 70%, transparent 70%);
        }

        /* ==================== HERO SECTION ==================== */
        .hero-section {
            padding: 80px 0;
            background: var(--white);
            min-height: 80vh;
            display: flex;
            align-items: center;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

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

        .hero-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--medium-gray);
            margin-bottom: 2rem;
        }

        .hero-description strong {
            color: var(--dark);
        }

        .btn-arrow {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gold);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.2rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-arrow:hover {
            background: var(--gold-dark);
            transform: translateX(5px);
        }

        .hero-image {
            border-radius: 0;
            overflow: hidden;
            box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
        }

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

        /* ==================== ABOUT SECTION ==================== */
        .about-section {
            padding: 100px 0;
            background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.9)), 
                        url('assets/img/refinery-bg.jpg') center/cover;
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 500;
            color: var(--dark);
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gold);
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--medium-gray);
            max-width: 900px;
            margin: 0 auto 2rem;
        }

        .about-quote {
            font-style: italic;
            font-size: 1.15rem;
            color: var(--dark);
            max-width: 900px;
            margin: 0 auto 3rem;
            padding: 1.5rem;
            border-left: 4px solid var(--gold);
            background: rgba(184, 169, 57, 0.05);
        }

        .team-title {
            color: var(--gold);
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 3rem;
        }

        .team-member {
            text-align: center;
            padding: 1rem;
        }

        .team-photo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 1rem;
            border: 4px solid var(--light-gray);
            transition: all 0.3s ease;
            background: var(--light-gray);
        }

        .team-photo:hover {
            border-color: var(--gold);
            transform: scale(1.05);
        }

        .team-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
        }

        .team-photo:hover img {
            filter: grayscale(0%);
        }

        .team-name {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            color: var(--dark);
            margin-bottom: 0.25rem;
        }

        .team-position {
            font-size: 0.85rem;
            color: var(--medium-gray);
            line-height: 1.4;
        }

        /* ==================== SERVICES SECTION ==================== */
        .services-section {
            padding: 0;
            background: var(--dark-gray);
        }

        .services-header {
            padding: 60px 0 30px;
            text-align: center;
        }

        .services-header .section-title {
            color: var(--gold);
        }

        .services-header .section-title::after {
            background: var(--white);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            min-height: 700px;
        }

        .service-card {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            min-height: 700px;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1;
            transition: background 0.3s ease;
        }

        .service-card:hover::before {
            background: rgba(0,0,0,0.3);
        }

        .service-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            filter: grayscale(100%);
            transition: all 0.5s ease;
        }

        .service-card:hover .service-bg {
            filter: grayscale(0%);
            transform: scale(1.1);
        }

        .service-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            text-align: center;
        }

        .service-number {
            font-family: 'Playfair Display', serif;
            font-size: 8rem;
            font-weight: 300;
            color: transparent;
            -webkit-text-stroke: 2px var(--white);
            line-height: 1;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .service-card:hover .service-number {
            -webkit-text-stroke-color: var(--gold);
        }

        .service-name {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--white);
            letter-spacing: 3px;
            margin-bottom: 1.5rem;
        }

        .service-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gold);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.5rem;
            font-weight: 300;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .service-btn:hover {
            background: var(--gold-light);
            transform: rotate(90deg);
        }

        .service-description {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--gold);
            color: var(--white);
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .service-card:hover .service-description {
            transform: translateY(0);
        }

        /* ==================== FOOTER ==================== */
        .footer {
            background: var(--medium-gray);
            padding: 60px 0 30px;
            color: var(--white);
        }

        .footer-top-line {
            height: 4px;
            background: var(--gold);
            margin-bottom: 60px;
        }

        .footer-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            color: var(--gold);
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
            color: rgba(255,255,255,0.8);
        }

        .footer-contact-item i {
            color: var(--gold);
            font-size: 1.2rem;
            margin-top: 3px;
        }

        .footer-contact-item a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-contact-item a:hover {
            color: var(--gold);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.2rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            background: var(--gold);
            color: var(--white);
            transform: translateY(-3px);
        }

        .footer-map {
            opacity: 0.3;
            max-width: 100%;
            height: auto;
        }

        .footer-bottom {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            color: rgba(255,255,255,0.5);
            font-size: 0.9rem;
        }

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

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 0;
        }

        .footer-links a::before {
            content: '';
            position: absolute;
            left: -15px;
            top: 50%;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--gold);
            padding-left: 20px;
        }

        .footer-links a:hover::before {
            width: 10px;
        }

        /* ==================== HERO SOBRE NOSOTROS ==================== */
        .about-hero {
            padding: 100px 0 80px;
            background: var(--white);
            min-height: 70vh;
            display: flex;
            align-items: center;
        }

        /* ==================== EMPRESA SECTION ==================== */
        .empresa-section {
            padding: 80px 0;
            background: var(--white);
        }

        .empresa-image {
            overflow: hidden;
            height: 100%;
            min-height: 500px;
        }

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

        .empresa-section:hover .empresa-image img {
            transform: scale(1.03);
        }

        .empresa-content {
            padding-left: 3rem;
        }

        .empresa-text {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--medium-gray);
            margin-bottom: 1.5rem;
        }

        .empresa-text strong {
            color: var(--dark);
        }

        /* ==================== TEAM (nosotros) ==================== */
        .team-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight: 600;
            color: transparent;
            -webkit-text-stroke: 1.5px var(--gold);
            letter-spacing: 4px;
            margin-top: 3rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
        }

        .team-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .team-list li {
            padding: 1rem 0;
            padding-left: 1.5rem;
            position: relative;
            font-size: 1.05rem;
            color: var(--medium-gray);
            border-bottom: 1px solid var(--light-gray);
            transition: all 0.3s ease;
        }

        .team-list li:last-child {
            border-bottom: none;
        }

        .team-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--gold);
            font-weight: bold;
            font-size: 1.3rem;
        }

        .team-list li:hover {
            padding-left: 2rem;
            background: var(--light-gray);
        }

        .team-list .member-name {
            color: var(--dark);
            font-weight: 500;
        }

        .team-list .member-position {
            color: var(--dark);
            font-weight: 700;
        }

        /* ==================== VALORES SECTION ==================== */
        .valores-section {
            padding: 80px 0;
            background: var(--light-gray);
        }

        .valores-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .valor-card {
            background: var(--white);
            padding: 2.5rem;
            text-align: center;
            border-radius: 0;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .valor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }

        .valor-icon {
            width: 70px;
            height: 70px;
            background: var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--white);
            font-size: 1.8rem;
        }

        .valor-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }

        .valor-text {
            font-size: 0.95rem;
            color: var(--medium-gray);
            line-height: 1.6;
        }

        /* ==================== HERO SERVICIOS ==================== */
        .services-hero {
            padding: 100px 0 80px;
            background: var(--white);
            min-height: 70vh;
            display: flex;
            align-items: center;
        }

        /* ==================== SERVICES CARDS SECTION ==================== */
        .services-cards-section {
            padding: 0;
            background: var(--dark-gray);
        }

        /* ==================== SERVICE DETAIL SECTIONS ==================== */
        .service-detail {
            padding: 80px 0;
            background: var(--white);
            position: relative;
            overflow: hidden;
        }

        .service-detail:nth-child(odd) {
            background: var(--light-gray);
        }

        .service-detail-number {
            font-family: 'Playfair Display', serif;
            font-size: 6rem;
            font-weight: 300;
            color: transparent;
            -webkit-text-stroke: 2px var(--gold);
            line-height: 1;
            display: inline-block;
            margin-right: 1rem;
        }

        .service-detail-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight: 600;
            color: var(--gold);
            letter-spacing: 4px;
            display: inline-block;
            vertical-align: middle;
        }

        .service-detail-header {
            margin-bottom: 2.5rem;
        }

        .service-detail-image {
            overflow: hidden;
            height: 400px;
        }

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

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

        .service-feature {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
            position: relative;
            font-size: 1.05rem;
            line-height: 1.7;
            color: var(--medium-gray);
        }

        .service-feature::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--gold);
            font-weight: bold;
            font-size: 1.2rem;
        }

        .service-feature strong {
            color: var(--dark);
        }

        /* CTA Button en servicios */
        .service-cta {
            margin-top: 1.5rem;
        }

        /* Layout para servicio 02 - tres columnas */
        .three-columns-layout {
            display: grid;
            grid-template-columns: 1fr 1.2fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .three-columns-layout .center-image {
            height: 450px;
        }

        .three-columns-layout .center-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

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

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

            .service-card {
                min-height: 350px;
            }

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

            .empresa-content {
                padding-left: 0;
                padding-top: 2rem;
            }

            .empresa-image {
                min-height: 350px;
            }

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

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

            .three-columns-layout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .three-columns-layout .center-image {
                order: -1;
                height: 300px;
            }

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

            .service-detail-title {
                font-size: 1.5rem;
            }
        }

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

            .hero-section {
                padding: 40px 0;
            }

            .about-hero {
                padding: 80px 0 60px;
            }

            .nav-link.active::before {
                display: none;
            }

            .team-photo {
                width: 120px;
                height: 120px;
            }

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

            .services-hero {
                padding: 80px 0 60px;
            }

            .service-detail {
                padding: 60px 0;
            }

            .service-detail-image {
                height: 280px;
                margin-bottom: 2rem;
            }

            .contact-hero {
                padding: 80px 0 60px;
            }

            .contact-info-card {
                margin-top: 2rem;
            }
        }

        /* ==================== CONTACT PAGE ==================== */
        .contact-hero {
            padding: 100px 0 80px;
            background: var(--white);
            min-height: 70vh;
            display: flex;
            align-items: center;
        }

        .contact-section {
            padding: 120px 0 80px;
            background: var(--white);
        }

        .contact-form-wrapper {
            background: var(--white);
            padding: 3rem;
            position: relative;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }

        /* Título decorativo contacto */
        .contact-title-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .contact-title-number {
            font-family: 'Playfair Display', serif;
            font-size: 5rem;
            font-weight: 300;
            color: transparent;
            -webkit-text-stroke: 2px var(--gold);
            line-height: 1;
        }

        .contact-title-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--gold);
            letter-spacing: 6px;
            text-transform: uppercase;
        }

        /* Botón estilo btn-login en form oscuro */
        .btn-contact-submit {
            border: 2px solid var(--white) !important;
            color: var(--white) !important;
            background: transparent !important;
            padding: 0.7rem 2.5rem !important;
            font-weight: 500;
            font-size: 1rem;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .btn-contact-submit:hover {
            background: var(--gold) !important;
            border-color: var(--gold) !important;
            color: var(--white) !important;
        }

        .contact-label {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
            display: block;
        }

        .contact-input {
            background: var(--light-gray);
            border: 1px solid #ddd;
            color: var(--dark);
            border-radius: 0;
            padding: 0.75rem 1rem;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .contact-input:focus {
            background: var(--white);
            border-color: var(--gold);
            color: var(--dark);
            box-shadow: 0 0 0 2px rgba(184, 169, 57, 0.2);
        }

        .contact-input::placeholder {
            color: var(--medium-gray);
        }

        textarea.contact-input {
            resize: vertical;
            min-height: 120px;
        }
        /* Botón estilo btn-login en form claro */
        .btn-contact-submit {
            border: 2px solid var(--dark) !important;
            color: var(--dark) !important;
            background: transparent !important;
            padding: 0.7rem 2.5rem !important;
            font-weight: 500;
            font-size: 1rem;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .btn-contact-submit:hover {
            background: var(--gold) !important;
            border-color: var(--gold) !important;
            color: var(--white) !important;
        }

        /* Contact Info Card */
        .contact-info-card {
            background: var(--white);
            padding: 2.5rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            height: 100%;
        }

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 1.2rem;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--light-gray);
        }

        .contact-info-item:last-child {
            border-bottom: none;
        }

        .contact-info-icon {
            width: 50px;
            height: 50px;
            background: var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .contact-info-label {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--medium-gray);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.3rem;
        }

        .contact-info-value {
            font-size: 1rem;
            color: var(--dark);
            text-decoration: none;
            transition: color 0.3s ease;
            margin: 0;
        }

        a.contact-info-value:hover {
            color: var(--gold);
        }

        /* Contact Result Card */
        .contact-result-card {
            padding: 3rem;
        }

        .contact-result-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
        }

        .contact-result-icon.success {
            color: var(--gold);
        }

        .contact-result-icon.error {
            color: #c0392b;
        }

        /* ==================== ANIMATIONS ==================== */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }