/* Variables y Reseteo */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #d35400;
    --light-bg: #f9f9f9;
    --dark-text: #333333;
    --light-text: #ffffff;
    --gray-text: #666666;
    --border-color: #e0e0e0;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-padding {
    padding: 60px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

/* Header Superior */
.header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 0;
}

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

.logo h1 {
    margin-bottom: 0;
    font-size: 24px;
}

.logo span {
    color: var(--secondary-color);
}

.contact-info-header {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.contact-info-header a:hover {
    color: var(--secondary-color);
}

/* Barra de Navegación */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar a {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 100px 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e67e22;
}

/* Nosotros */
.about {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--gray-text);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.placeholder-image {
    background-color: #e2e8f0;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    font-weight: bold;
    border-radius: 8px;
}

/* Servicios */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--secondary-color);
}

/* Indicadores de Confianza */
.grid-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.trust-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.trust-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Términos y Condiciones */
.terms-container {
    max-width: 800px;
}

.terms-container h1 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.terms-section {
    margin-top: 30px;
}

.terms-section h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.terms-section p {
    color: var(--gray-text);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #cbd5e1;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

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

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

.footer-col ul a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info-header {
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }
    
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}
