/* ====== VARIABLES Y RESET ====== */
:root {
    --primary-blue: #0a192f;
    --secondary-blue: #112240;
    --gold-accent: #c5a059;
    --gold-hover: #e2c27d;
    --text-light: #e6f1ff;
    --text-dim: #8892b0;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-blue);
    color: var(--text-light);
    line-height: 1.6;
}

/* ====== TODOS LOS TÍTULOS EN DORADO ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-accent);
}

/* ====== LAYOUT Y CONTENEDORES ====== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grids */
.grid-3, .grid-2 {
    display: grid;
    gap: 30px;
    width: 100%;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

/* ====== HEADER Y NAVEGACIÓN ====== */
header {
    background: rgba(10, 25, 47, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.company-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--gold-accent);
    text-transform: uppercase;
}

/* Navegación principal */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold-accent);
}

/* Selector de idioma */
.lang-switcher {
    display: inline-block;
    margin-left: 15px;
    font-size: 0.75rem;
    border-left: 1px solid rgba(197, 160, 89, 0.3);
    padding-left: 15px;
}

.lang-switcher a {
    text-decoration: none;
}

.lang-switcher .active {
    color: var(--gold-accent) !important;
    font-weight: bold;
}

.lang-switcher .inactive {
    color: var(--text-dim);
}

/* Botón menú móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--gold-accent);
    border-radius: 3px;
    transition: 0.3s;
}

/* ====== HERO SECTION ====== */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('../img/hero-dubai.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== BOTONES ====== */
.btn-gold {
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 12px 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
}

.btn-gold:hover {
    background: var(--gold-accent);
    color: var(--primary-blue);
}

.btn-gold-outline {
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
}

.btn-gold-outline:hover {
    background: var(--gold-accent);
    color: var(--primary-blue);
}

/* BOTÓN DE WHATSAPP */
.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    border: 2px solid var(--whatsapp-green);
    border-radius: 4px;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

/* ====== HIGHLIGHTS SECTION ====== */
.highlights {
    padding: 80px 0;
}

.card {
    background: var(--secondary-blue);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-gold {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    margin: 15px 0;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

/* ====== TRANSITION BAR ====== */
.transition-bar {
    text-align: center;
    padding: 40px 0;
    background: var(--secondary-blue);
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.transition-bar p {
    font-style: italic;
    color: var(--gold-accent);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ====== ABOUT SECTION ====== */
.about-section {
    padding: 100px 0;
}

.about-text {
    padding-right: 40px;
}

.about-text .subtitle {
    color: var(--gold-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 1.1rem;
}

.link-gold {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s;
}

.link-gold:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ====== FOOTER ====== */
footer {
    background: #050d1a;
    padding: 60px 0;
    border-top: 1px solid var(--gold-accent);
}

footer .grid-3 {
    align-items: start;
}

footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer p, footer a {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--gold-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    margin-top: 40px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
}

.legal-links a:hover {
    color: var(--gold-accent);
}

/* ====== FORM STYLES ====== */
.form-label {
    display: block;
    color: var(--gold-accent);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    border: 1px solid var(--gold-accent);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-hover);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: var(--gold-accent);
    color: var(--primary-blue);
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

/* Placeholder styles */
input::placeholder,
textarea::placeholder {
    color: rgba(136, 146, 176, 0.7);
    font-style: italic;
    font-size: 0.9rem;
}

/* ====== ANIMACIONES Y EFECTOS ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .hero h1, .hero p {
    animation: fadeIn 0.8s ease-out;
}

/* ====== UTILIDADES ====== */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

/* ====== ABOUT PAGE STYLES ====== */

/* Hero de About */
.about-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(10,25,47,0.85), rgba(10,25,47,0.85)), url('../img/bussi-dubai.jpg');
    background-size: cover;
    background-position: center;
}

.about-hero-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.text-dim {
    color: var(--text-dim);
}

/* Caja "Why Dubai?" */
.why-dubai-box {
    background: rgba(17, 34, 64, 0.9);
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    height: fit-content;
}

.why-dubai-box h3 {
    color: var(--gold-accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.why-dubai-box p:not(.why-dubai-intro) {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.why-dubai-list {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.8;
    padding-left: 20px;
    margin-top: 15px;
}

.why-dubai-list li {
    margin-bottom: 8px;
}

/* Sección Approach */
.approach-section {
    padding: 80px 0;
    background: #0c1e35;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Grid de pilares */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.pillar-item {
    background: rgba(10, 25, 47, 0.5);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pillar-number {
    color: var(--gold-accent);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.pillar-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--gold-accent);
}

.pillar-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Cita destacada */
.quote-container {
    text-align: center;
    margin-top: 60px;
}

.featured-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-accent);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    padding: 20px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

/* ====== SERVICES PAGE STYLES ====== */

/* Hero de Services */
.page-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(10,25,47,0.8), rgba(10,25,47,0.8)), url('../img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 2px solid var(--gold-accent);
}

.page-hero .subtitle {
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.hero-description {
    max-width: 800px;
    margin: 20px auto;
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-detail {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    background: var(--secondary-blue);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-item.highlight-gold {
    border: 1px solid var(--gold-accent);
    background: rgba(197, 160, 89, 0.05);
    position: relative;
    grid-column: 1 / -1; /* Hace que ocupe ambas columnas */
    max-width: 800px;
    margin: 0 auto;
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--gold-accent);
    font-size: 1.4rem;
}

.service-item p {
    color: var(--text-dim);
    margin-bottom: 15px;
    line-height: 1.6;
}

.gold-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.gold-list li {
    color: var(--text-dim);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.gold-list li:before {
    content: "•";
    color: var(--gold-accent);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.highlight-note {
    color: var(--gold-accent);
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    font-style: italic;
}

.sectors-section {
    background: var(--secondary-blue);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold-accent);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sector-card {
    background: rgba(10, 25, 47, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.sector-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
}

.sector-card h4 {
    margin-bottom: 10px;
    color: var(--gold-accent);
}

.sector-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    /* Services responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item.highlight-gold {
        grid-column: 1; /* En móvil ocupa solo una columna */
        max-width: 100%;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header móvil */
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        margin-left: 0;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    }
    
    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(197, 160, 89, 0.3);
        width: 100%;
    }
    
    /* Hero section móvil */
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-gold, .btn-whatsapp {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Grids móvil */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    /* About section móvil */
    .about-section {
        padding: 60px 0;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .transition-bar p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    /* Services responsive */
    .page-hero {
        padding: 80px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Form responsive */
    .form-input {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Footer móvil */
    footer .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Services responsive */
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    /* Form responsive */
    .checkbox-label {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* ====== RESPONSIVE PARA ABOUT PAGE ====== */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-dubai-box {
        padding: 30px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pillar-item {
        padding: 20px;
    }
    
    .featured-quote {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-item {
        padding: 25px 20px;
    }
    
    .featured-quote {
        font-size: 1.1rem;
    }
}