/* 
   Core Competent - Global Design System
   Estilo: Premium, Sistémico, Minimalista
*/

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

:root {
    /* Colors */
    --color-primary: #305c87;
    --color-accent: #BA965A;
    --color-secondary: #404040;
    --color-bg: #F9F9F9;
    --color-white: #FFFFFF;
    --color-text: #333333;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-button: 'Montserrat', sans-serif;

    /* Spacing */
    --space-unit: 1rem;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Typography Styles */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-button);
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #24486a;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Cards */
.card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--color-accent);
}

/* Header/Nav */
header {
    background: var(--color-white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-secondary);
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Helper Utilities */
.text-center {
    text-align: center !important;
}

.mt-4 {
    margin-top: 4rem;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 1.5rem auto;
}

/* 
 * EXTRACTED FROM ORIGNAL INDEX.HTML INLINE STYLES 
 * Context: Specific overrides for the Homepage structure
 */

/* Root Variable Overrides for Dark Mode Context */
:root {
    --color-bg-primary: #0F1216;
    --color-bg-secondary: #161B22;
    --color-bg-card: #1C2128;
    --color-accent: #C6A87C;
    --color-text-primary: #F0F6FC;
    --color-text-secondary: #C9D1D9;
    --color-border: #30363D;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Overrides */
header {
    background: rgba(15, 18, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

header .container {
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 18, 22, 0.7), rgba(15, 18, 22, 0.85)), url('../images/backgrounds/hero-bg-wood-dim.png') center/cover no-repeat;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Logo Marquee */
.logo-marquee {
    padding: 3rem 0;
    background: #0B0D11;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, #0B0D11 0%, rgba(11, 13, 17, 0) 100%);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, #0B0D11 0%, rgba(11, 13, 17, 0) 100%);
}

.logo-track {
    display: flex;
    width: calc(250px * 58);
    animation: scroll-marquee 60s linear infinite;
}

.logo-item {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    transition: all 0.4s ease;
    filter: grayscale(1) opacity(0.5);
}

.logo-item:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

.logo-item img {
    height: 60px;
    width: auto;
    max-width: 180px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(1.3);
    transition: all 0.3s ease;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 29));
    }
}

@media (max-width: 768px) {
    .logo-marquee {
        padding: 2rem 0;
    }

    .logo-item {
        width: 180px;
        padding: 0 25px;
    }

    .logo-item img {
        max-width: 100px;
        max-height: 35px;
    }

    @keyframes scroll-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 29));
        }
    }
}

/* Sequence Section Styles (Cineamtic Strategy) */
.sequence-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: -2rem;
    position: relative;
    margin-top: 5rem;
    padding: 2rem 0;
}

.sequence-light-path {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(198, 168, 124, 0) 20%, rgba(198, 168, 124, 0.8) 50%, rgba(198, 168, 124, 0) 80%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    animation: light-trail 4s linear infinite;
    filter: blur(1px);
    box-shadow: 0 0 20px rgba(198, 168, 124, 0.4);
}

@keyframes light-trail {
    0% {
        transform: translateX(-100%) translateY(-50%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) translateY(-50%);
        opacity: 0;
    }
}

.sequence-panel {
    flex: 1;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 380px;
    margin: 0 -1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sequence-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(198, 168, 124, 0.4);
    transform: translateY(-15px) scale(1.05);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(198, 168, 124, 0.1);
}

.sequence-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 200;
    color: rgba(198, 168, 124, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.sequence-panel:hover .sequence-number {
    color: rgba(198, 168, 124, 0.5);
}

.sequence-check {
    color: var(--color-accent);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.sequence-panel:hover .sequence-check {
    opacity: 1;
    transform: scale(1.1);
}

.sequence-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.sequence-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* Golden Glow Behind Panels */
.sequence-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(198, 168, 124, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}