/* Stylesheet for Garrido Torres & Asociados */
:root {
    --burgundy: #6e0e14;
    --burgundy-dark: #4d090d;
    --burgundy-light: #8b1820;
    --navy: #0b192c;
    --navy-light: #1e3e62;
    --gold: #c5a059;
    --gold-bright: #e5c178;
    --gold-dark: #a37f3f;
    --dark-text: #1e293b;
    --gray-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.35s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: #fff;
    line-height: 1.65;
}

h1, h2, h3, h4, .brand-title {
    font-family: 'Cinzel', serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.top-bar {
    background-color: var(--navy);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--burgundy);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 18px;
}

.top-info i {
    color: var(--gold);
    margin-right: 5px;
}

.lang-badge {
    background: rgba(197, 160, 89, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--gold-bright);
    font-weight: 600;
}

.top-social a {
    color: #e2e8f0;
    margin-left: 14px;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--gold);
}

.navbar {
    padding: 12px 0;
    background: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 52px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--burgundy);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--burgundy);
}

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

/* HERO CAROUSEL / SLIDER */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background-color: var(--navy);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 10s ease;
    transform: scale(1.05);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,25,44,0.78) 0%, rgba(110,14,20,0.85) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 880px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content h1 span {
    color: var(--gold-bright);
}

.slide-content p {
    font-size: 1.2rem;
    color: #f1f5f9;
    margin-bottom: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    width: 32px;
    border-radius: 8px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(11, 25, 44, 0.6);
    color: white;
    border: 1px solid var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--navy);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Page Banners */
.page-banner {
    background: linear-gradient(rgba(11, 25, 44, 0.88), rgba(110, 14, 20, 0.9)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: white;
    padding: 85px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    color: var(--gold-bright);
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.15rem;
    max-width: 780px;
    margin: 0 auto;
    color: #e2e8f0;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}

.btn-gold {
    background-color: var(--burgundy);
    color: #ffffff;
    border: 2px solid var(--burgundy);
}

.btn-gold:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Common Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-title p {
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--burgundy);
    margin: 15px auto;
}

/* Cards with Images */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-img {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card-img:hover {
    transform: translateY(-6px);
    border-color: var(--burgundy);
}

.card-thumb {
    height: 220px;
    width: 100%;
    object-fit: cover;
    background-color: #f1f5f9;
}

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

.card-body h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.card-body p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Feature Box */
.feature-box {
    background: var(--gray-bg);
    border-left: 4px solid var(--burgundy);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

/* Interactive Forms */
.interactive-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--burgundy);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 5px 18px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: #FFF;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: #94a3b8;
    padding: 70px 0 0;
    border-top: 4px solid var(--burgundy);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

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

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

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

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--burgundy);
    color: #ffffff;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }
    .hero-slider-wrapper {
        height: 480px;
    }
}
