/* 
    G&V Asesoría Digital - Modern Landing Page Styles
    Version: 1.1 - Added Video Background & FontAwesome Support
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@400;700;800&display=swap');

:root {
    --primary-color: #D4AF37; /* Dorado Corporativo */
    --primary-hover: #B4942D;
    --dark-bg: #0A0A0A;
    --dark-section: #121212;
    --light-bg: #FFFFFF;
    --light-section: #F4F6F9;
    --text-light: #F8F8F8;
    --text-dark: #1A1A1A;
    --text-muted: #B0B0B0;
    --text-muted-dark: #555555;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1350px;
    --glass-bg: rgba(10, 10, 10, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .btn {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Color Background Classes */
.bg-dark { background-color: var(--dark-bg); color: var(--text-light); }
.bg-dark-section { background-color: var(--dark-section); color: var(--text-light); }
.bg-light { background-color: var(--light-bg); color: var(--text-dark); }
.bg-muted { background-color: var(--light-section); color: var(--text-dark); }

/* Text Overrides for Light Backgrounds */
.bg-light p, .bg-muted p { color: var(--text-muted-dark); }
.bg-light .stat-item p, .bg-muted .stat-item p { color: var(--text-muted-dark); }
.bg-light h2, .bg-light h3, .bg-light h4, .bg-muted h2, .bg-muted h3, .bg-muted h4 { color: var(--text-dark); }
.bg-light .check-list li, .bg-muted .check-list li { color: var(--text-dark); }
.bg-light .title-accent, .bg-muted .title-accent { color: var(--primary-color); }

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0;
    position: relative; /* For absolute SVG dividers */
}

/* SVG Shape Dividers */
.shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

.shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.shape-fill-light { fill: var(--light-bg); }
.shape-fill-muted { fill: var(--light-section); }
.shape-fill-dark { fill: var(--dark-bg); }
.shape-fill-dark-section { fill: var(--dark-section); }

/* Header & Nav */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    filter: brightness(1.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Fixed */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 18, 18, 0.98);
    border-top: 3px solid var(--primary-color);
    list-style: none;
    padding: 1rem 0;
    display: none;
    min-width: 320px;
    z-index: 2001;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    border-radius: 0 0 8px 8px;
    flex-direction: column;
    gap: 0;
}

.dropdown-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    display: block;
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.4;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Info Blocks */
.info-block {
    padding: 100px 0;
}

.info-block.alternate {
    background: var(--dark-section);
}

.block-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.block-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.block-content p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.check-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.check-list i {
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Montserrat';
}

.stat-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.nav-phone {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-phone i {
    color: var(--primary-color);
    margin-right: 5px;
}

.nav-phone:hover {
    color: var(--primary-color);
}

.btn-header {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.7rem 1.8rem;
    border-radius: 2px;
    font-weight: 800;
    font-size: 0.75rem;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: #E0E0E0;
    margin-bottom: 3rem;
    max-width: 650px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.8rem;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
}

/* Services */
#servicios {
    background: var(--dark-section);
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.service-card {
    background: var(--dark-bg);
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.title-accent {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.features {
    margin-top: 4rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.08);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.8rem;
    color: var(--white);
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.img-wrapper {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 2px;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.about-img:hover img {
    filter: grayscale(0);
}

.img-exp {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 2rem;
    font-weight: 800;
    font-family: 'Montserrat';
    text-align: center;
    line-height: 1.2;
}

.img-exp span {
    display: block;
    font-size: 1.8rem;
}

/* Contact */
#contacto {
    background: var(--dark-section);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-top: 4rem;
}

.method-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.method-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
}

.method-item p {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

.contact-form {
    background: var(--dark-bg);
    padding: 4rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group i {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.1rem 1.1rem 1.1rem 3.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.06);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: var(--dark-bg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 350px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
}

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

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

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1100px) {
    .about-container, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 900px) {
    nav { display: none; }
    .nav-phone { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .footer-brand p { margin: 0 auto 2rem; }
    .img-exp { left: 0; bottom: 0; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .badge { font-size: 0.65rem; }
    .cta-group { flex-direction: column; }
    .contact-form { padding: 2rem; }
}
