/* Variables globales */
:root {
    --color-background: #fff7e6;
    --color-primary: #003844;
    --color-secondary: #ffb703;
    --color-accent: #b7094c;
    --color-text: #1e1e1e;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.d-text {
    color: var(--color-primary);
}

.Osmarithenuq-text {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 56, 68, 0.05), rgba(183, 9, 76, 0.05));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-section .btn-primary {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ventajas Section */
.ventajas-section {
    background-color: white;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ventaja-card {
    background-color: var(--color-background);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.ventaja-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ventaja-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 183, 3, 0.1);
    overflow: hidden;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nosotros Section */
.nosotros-section {
    background-color: var(--color-background);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.nosotros-text {
    font-size: 1.1rem;
}

.nosotros-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img {
    transition: var(--transition);
}

.nosotros-image:hover .about-img {
    transform: scale(1.05);
}

.nosotros-valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.valor {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Servicios Section */
.servicios-section {
    background-color: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background-color: var(--color-background);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 56, 68, 0.1);
    overflow: hidden;
}

.servicio-card p {
    flex: 1;
    margin-bottom: 1.5rem;
}

/* Confianza Section */
.confianza-section {
    background-color: var(--color-background);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonio {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonio::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 56, 68, 0.1);
    font-family: serif;
}

.testimonio-texto {
    font-style: italic;
}

.testimonio-autor {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
}

.partners {
    text-align: center;
}

.partners h3 {
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner {
    padding: 1rem 2rem;
    background-color: white;
    border-radius: var(--radius);
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-background);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    position: relative;
    font-size: 1.2rem;
}

.faq-question a {
    color: var(--color-primary);
    text-decoration: none;
    display: block;
    width: 100%;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contacto Section */
.contacto-section {
    background-color: var(--color-background);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transform: translateY(0);
    transition: var(--transition);
}

.form-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contacto-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(255, 183, 3, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: white;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-secondary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

/* Policy Pages Styles */
.policy-section {
    padding: 4rem 0;
    background-color: var(--color-background);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.policy-content h2 {
    text-align: center;
    margin: 0 auto 2.5rem;
    font-size: 2.2rem;
    color: var(--color-primary);
    position: relative;
}

.policy-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius);
}

/* Subheader styles */
.subheader {
    background-color: var(--color-background);
    padding: 2rem 0;
    text-align: center;
}

.subheader h1 {
    color: var(--color-primary);
    margin: 0;
    font-size: 2.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .nosotros-image {
        order: -1;
    }

    .nosotros-valores {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .partners-logos {
        flex-direction: column;
        gap: 1rem;
    }
} 