/* Variables de Color */
:root {
    --primary-color: #ff6f61; /* Coral o Salmón, sugiere romance y energía */
    --secondary-color: #6a0572; /* Morado Oscuro, sofisticación y misterio */
    --accent-color: #ffda79; /* Amarillo Suave, alegría y diversión */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #fdf2f8; /* Un rosa muy pálido para secciones claras */
    --bg-dark: #2c0735; /* Fondo oscuro complementario */
    --light-grey: #e9ebee;
}

/* Reset Básico y Tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 3.2em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

.lead {
    font-size: 1.25em;
    margin-bottom: 1.5em;
    font-weight: 400;
    color: #555;
}

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

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

.section-padded {
    padding: 80px 0;
}

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

/* Botones */
.button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 8px 15px rgba(255, 111, 97, 0.3);
}

.primary-button:hover {
    background-color: #ff5f51; /* Ligeramente más oscuro al hover */
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 111, 97, 0.4);
}

.button.small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.button.large {
    padding: 18px 35px;
    font-size: 1.1em;
}

.button.huge {
    padding: 22px 45px;
    font-size: 1.3em;
    animation: pulse 2s infinite; /* Animación sutil de CTA */
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 15px rgba(255, 111, 97, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 15px 25px rgba(255, 111, 97, 0.4); }
    100% { transform: scale(1); box-shadow: 0 8px 15px rgba(255, 111, 97, 0.3); }
}

/* Header y Navegación */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
    left: 0;
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.9), rgba(106, 5, 114, 0.9)), url('https://source.unsplash.com/random/1600x900/?couple-romantic-date') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-section h1 {
    font-size: 4.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-section .subtitle {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero-section .button {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

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


/* ¿Cómo funciona? Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.category-item h3 span {
    font-size: 1.2em; /* Para emojis */
    margin-right: 10px;
}

.category-item p {
    color: #777;
    font-size: 1em;
}

/* Beneficios Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.benefit-card h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    font-size: 1.1em;
}

/* Testimonios Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-size: 1em;
    font-weight: 600;
    margin-top: auto; /* Empuja el nombre al final si hay diferentes longitudes de texto */
}


/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.cta-section .lead {
    color: var(--text-light);
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Media Queries para Responsividad */
@media (max-width: 992px) {
    h1 { font-size: 3.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }

    .hero-section {
        padding: 120px 20px;
        min-height: 70vh;
    }

    nav ul li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 15px;
    }

    nav ul li:last-child {
        margin-top: 15px;
    }

    .hero-section {
        padding: 100px 20px;
        min-height: 60vh;
    }
    .hero-section h1 { font-size: 2.8em; }
    .hero-section .subtitle { font-size: 1.2em; }

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

    .lead { font-size: 1.1em; }

    .cta-section h2 { font-size: 2.5em; }
    .cta-section .lead { font-size: 1.2em; }
    .button.huge { font-size: 1.1em; padding: 20px 40px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    .hero-section {
        padding: 80px 15px;
    }

    .button.large {
        padding: 15px 25px;
        font-size: 1em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    nav ul li:last-child {
        margin-top: 20px;
    }

    .categories-grid, .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 { font-size: 2em; }
    .button.huge { font-size: 1em; padding: 18px 35px; }
}