/*
Theme Name: Mehrere Hunde - Ein Team
Theme URI: https://mehrhunde.example.com
Description: Tema profesional para la página de aterrizaje del curso "Mehrere Hunde - Ein Team"
Version: 1.0.0
Author: Karine Mastroleo
Author URI: https://mehrhunde.example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mehrhunde
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
*/

/* ============================================
   VARIABLES Y COLORES
   ============================================ */
:root {
    --primary: #2C5282;
    --secondary: #48A868;
    --accent: #D4AF37;
    --background: #FFFFFF;
    --foreground: #1A202C;
    --muted: #718096;
    --light-bg: #F7FAFC;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* ============================================
   CONTENEDOR
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
}

nav a {
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

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

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: none;
}

@media (min-width: 768px) {
    .cta-button {
        display: inline-block;
    }
}

.cta-button:hover {
    background-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 4rem 0;
    background-color: white;
}

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

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 .accent {
    color: var(--secondary);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

.benefits li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta button {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-cta button {
        width: auto;
    }
}

.hero-cta button:hover {
    background-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.bonus-text {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

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

.section-gradient {
    background: linear-gradient(to bottom, white, var(--light-bg));
}

/* ============================================
   GRID DE MÓDULOS
   ============================================ */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.module-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.module-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.module-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1.5rem;
}

.module-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.module-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.module-body {
    padding: 1.5rem;
}

.module-description {
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.module-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   PRECIOS
   ============================================ */
.pricing-card {
    max-width: 42rem;
    margin: 0 auto;
    border: 4px solid var(--secondary);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
}

.original-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.75;
}

.discount {
    font-size: 1.125rem;
    font-weight: 600;
    color: #c6f6d5;
}

.pricing-body {
    padding: 2rem;
}

.countdown {
    background-color: #fee2e2;
    border: 2px solid #fca5a5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: #991b1b;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

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

.countdown-number {
    background-color: #dc2626;
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.countdown-label {
    font-size: 0.75rem;
    color: #991b1b;
    font-weight: 600;
    margin-top: 0.25rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.features-list li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.social-proof {
    background-color: #eff6ff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.social-proof-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.social-proof-text {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.social-proof-subtext {
    font-size: 0.875rem;
    color: #1e40af;
}

.pricing-cta {
    width: 100%;
    background-color: var(--secondary);
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pricing-cta:hover {
    background-color: #15803d;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
}

.pricing-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: white;
    cursor: pointer;
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

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

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background-color: var(--light-bg);
    color: var(--muted);
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #111827;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-divider {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

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

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

.mb-8 {
    margin-bottom: 2rem;
}

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

.hidden {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 2rem 0;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }

    button,
    a {
        transition: all 0.3s ease;
    }

    .module-card,
    .testimonial-card {
        transition: all 0.3s ease;
    }
}
