/* 
 * ESTILOS PREMIUM - AGENCIA GARZ
 * Diseño de lujo con paleta de colores premium
 * Total líneas: ~2200
 */

/* ===== RESET Y CONFIGURACIONES BASE ===== */
* {
    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 {
    /* Colores principales premium */
    --color-primary: #0a2463; /* Azul marino premium */
    --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.6;
    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;
}

.subtitle {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secondary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.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: 1240px;
    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: .9rem 0;
    box-shadow: var(--shadow-subtle);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.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:hover {
    transform: scale(1.05);
}
.logo-link{
    width: 80px;
    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: center;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    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: 0;
    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.8rem 1.8rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    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: 300px;
    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: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--border-radius-md);
    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);
}

/* ===== SECCIÓN HERO (PORTADA) ===== */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.03) 0%, rgba(248, 245, 240, 0.05) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 50ch;
}

.hero-buttons {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    border-radius: var(--border-radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

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

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-container {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-bold);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.1), rgba(212, 175, 55, 0.05));
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* ===== SECCIONES GENERALES ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content {
    animation: fadeInUp 1s ease-out;
}

.section-title {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    margin-bottom: 2.5rem;
}

.section-image-container {
    animation: fadeIn 1s ease-out 0.3s both;
}

.section-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-bold);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-header .section-description {
    margin-left: auto;
    margin-right: auto;
}

.section-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.section-buttons.center {
    justify-content: center;
}

/* ===== SECCIÓN NOSOTROS ===== */
.about-section {
    background-color: var(--color-section-light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: all var(--transition-medium);
}

.feature-item:hover .feature-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== SECCIÓN SERVICIOS ===== */
.services-section {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 2rem 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-bold);
    border-color: rgba(10, 36, 99, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.1), rgba(10, 36, 99, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* ===== SECCIÓN PROCESO (FONDO DIFERENTE) ===== */
.process-section {
    background-color: var(--color-section-dark);
    color: var(--text-white);
}

.process-section::before {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}

.process-section .section-title,
.process-section .section-description,
.process-section .subtitle {
    color: var(--text-white);
}

.process-section .subtitle::after {
    background-color: var(--color-secondary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--color-secondary);
    transition: all var(--transition-medium);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.process-step:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.step-number {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.step-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.step-details {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-details li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== SECCIÓN PORTAFOLIO ===== */
.portfolio-section {
    background-color: var(--color-section-light);
}

.portfolio-stats {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
}

.portfolio-stat {
    display: flex;
    flex-direction: column;
}

.portfolio-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.portfolio-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECCIÓN TESTIMONIOS (FONDO DIFERENTE) ===== */
.testimonials-section {
    background-color: var(--color-cream);
}

.testimonials-section::before {
    background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-bold);
    border-color: rgba(10, 36, 99, 0.1);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(10, 36, 99, 0.1);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.author-company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-section {
    background-color: var(--color-white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-value {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== FOOTER PREMIUM ===== */
.footer {
    background-color: var(--color-section-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: 80px;
    object-fit: cover;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: 0.3rem 0;
}

.footer-link:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clases para animaciones al aparecer en viewport */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {    
    h2 {
        font-size: clamp(2.5rem, 4vw, 2.8rem);
    }
    .hero-image {
        height: 400px;
    }

    .hero-grid,
    .section-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero{
       padding: 80px 0px 120px; 
    }
    .hero-image-container,
    .section-image-container {
        order: -1;
    }
    
    .hero-stats,
    .portfolio-stats {
        gap: 12px;
    }
    
    .stat-item,
    .portfolio-stat {
        flex: 0 0 calc(50% - 1rem);
    }
    .stat-item{
        max-width: 40%;
    }
    
    .process-steps {
        gap: 2rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: .6rem 0;
    }
    .main-nav{
        display: none;
    }
    .header-actions{
        display: none;
    }
    .hero-stats{
        justify-content: center;
        margin-top: 10px;
    }
    .stat-item{
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .section {
        padding: 80px 0;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .section-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stat-item,
    .portfolio-stat {
        flex: 0 0 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    .hero h2{
        font-size: clamp(2.6rem, 4vw, 2.2rem);
    } 
    h2 {
        font-size: clamp(2.3rem, 4vw, 2.2rem);
    }
    
    p {
        font-size: 1rem;
    }
    
    .btn-contact,
    .btn-contact-mobile,
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image,
    .section-image {
        height: 320px;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== ESTILOS DE CONTRASTE (ACCESIBILIDAD) ===== */
/* Verificación de contraste:
   - Color primario (#0a2463) sobre blanco: 12.5:1 ✓
   - Texto oscuro (#1a1a1a) sobre blanco: 17.1:1 ✓
   - Texto claro (#666666) sobre blanco: 5.7:1 (mejor que el mínimo de 4.5:1 para texto grande) ✓
*/

/* Ajustes para mejor contraste en fondos oscuros */
.process-section p,
.process-section li,
.testimonials-section p,
.testimonials-section li,
.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.9);
}

/* Asegurar que todos los textos sean legibles */
@media (prefers-contrast: high) {
    :root {
        --text-light: #444444;
        --text-dark: #000000;
    }
    
    .hero-description,
    .section-description,
    .feature-description,
    .service-description,
    .step-description,
    .testimonial-text {
        color: #333333;
    }
}

/* ===== ESTILOS PARA IMPRESIÓN ===== */
@media print {
    .header,
    .footer,
    .btn-primary,
    .btn-secondary,
    .btn-contact,
    .hero-buttons,
    .section-buttons,
    .hamburger,
    .dots-pattern,
    .image-frame::before,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero,
    .section {
        padding: 40px 0 !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .hero-image,
    .section-image {
        max-width: 50%;
        height: auto;
        float: right;
        margin: 0 0 20px 20px;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
    }
}