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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ===== VARIABLES DE COLOR PREMIUM ===== */
:root {
    --color-primary: #0a2463;
    --color-primary-light: #1e3a8a;
    --color-primary-dark: #050a30;
    
    /* Colores secundarios de lujo */
    --color-secondary: #d4af37; /* Dorado elegante */
    --color-secondary-light: #e6c86e;
    --color-secondary-dark: #6c4f0a;
    
    /* Colores neutros premium */
    --color-white: #ffffff;
    --color-cream: #f8f5f0; /* Crema premium */
    --color-light-gray: #f5f5f7;
    --color-gray: #8a8a8a;
    --color-dark-gray: #333333;
    --color-black: #000000;
    
    /* Colores de acento */
    --color-accent: #2a9d8f; /* Verde esmeralda */
    --color-accent-light: #76c7b7;
    --color-accent-dark: #1d7870;
    
    /* Colores de fondo de secciones */
    --color-section-light: #faf9f7;
    --color-section-dark: #0f172a;
    
    /* Colores de texto */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    
    /* Sombras premium */
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-bold: 0 15px 50px rgba(0, 0, 0, 0.12);
    
    /* Bordes */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 37px;
    --border-radius-xl: 50px;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== PATRÓN DE PUNTOS DE FONDO ===== */
.dots-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* ===== TIPOGRAFÍA PREMIUM ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

.highlight-text {
    position: relative;
    color: var(--color-primary);
    font-style: italic;
}
.highlight-text2{
    color: var(--color-secondary);
}
.highlight-text::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(10, 36, 99, 0.1);
    z-index: -1;
    border-radius: 4px;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    max-width: 1266px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER PREMIUM ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 0 2px 0 #ccc4;
    border-bottom: 1px solid #bbb6;
}

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

.logo-container {
    flex: 0 0 auto;
}

.logo-link {
    display: block;
    transition: transform var(--transition-medium);
}
.logo-link{
    width: 90px;
    display: flex;
    height: 50px;
}
.logo {
    object-fit: cover;
    width: 100%;
    filter: brightness(0) saturate(100%) invert(11%) sepia(43%) saturate(1531%) hue-rotate(204deg) brightness(93%) contrast(101%);
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: start;
    padding-left: 40px;
}

.nav-list {
    display: flex;
    gap: 1.6rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-medium);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.header-actions {
    flex: 0 0 auto;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.4rem .5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-bold);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.btn-contact i {
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all var(--transition-medium);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menú móvil */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: right var(--transition-medium);
    padding: 100px 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
}

.mobile-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-contact-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: .7rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.btn-contact-mobile:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    transform: translateY(-2px);
}
/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .header-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    .mobile-nav {
        display: none; 
    }
}