/* =============================================
   LANDING PAGE — ADIESTRAMIENTO CANINO
   Extracted from adiestramiento-canino-cantabria/index.html
   ============================================= */

/* --- Hero for this landing --- */
.landing-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: #1e5c3a;
    background-image: url('../assets/media/adiestramiento-canino-cantabria.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 7rem 1.5rem 4rem;
}

@media (max-width: 768px) {
    .landing-hero {
        background-image: url('../assets/media/adiestramiento-canino-cantabria-movil.webp');
        padding: 6rem 1.25rem 3rem;
    }
}

.landing-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(30, 92, 58, 0.65) 100%);
}

.landing-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.landing-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    line-height: 1.15;
}

.landing-hero .hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.landing-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- CTA Accent (Orange) --- */
.btn-accent {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.35);
}

.btn-accent:hover {
    background: #e68900;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.45);
}

/* --- Social Proof Bar --- */
.proof-bar {
    background: var(--color-bg-alt);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.proof-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.proof-item .proof-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    /* font-size removed as it's now an image */
}

.proof-item strong {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

/* --- Pain Section --- */
.pain-section {
    background: var(--color-bg);
    padding: 5rem 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pain-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pain-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.pain-card .pain-emoji {
    display: block;
    margin: 0 auto 1rem;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.pain-card h3 {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.pain-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pain-warning {
    text-align: center;
    max-width: 650px;
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    background: #fff8e1;
    border-radius: var(--radius-md);
    border: 1px solid #ffe082;
    color: #5d4037;
    font-weight: 600;
}

/* --- Method Section --- */
.method-section {
    background: var(--color-bg-alt);
    padding: 5rem 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.method-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.method-card .method-icon {
    display: block;
    margin: 0 auto 1rem;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.method-card h3 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.method-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* --- Services Cards --- */
.landing-services {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    padding: 5rem 0;
}

.landing-services .section-title {
    color: #fff;
}

.landing-services .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.service-landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-landing-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.service-landing-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.service-landing-card .srv-icon {
    display: block;
    margin: 0 auto 1rem;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-landing-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-landing-card p {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials-section {
    background: var(--color-bg);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author .author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
}

.testimonial-author .author-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- Lead Form Section --- */
.lead-form-section {
    background: var(--color-bg-alt);
    padding: 5rem 0;
}

.lead-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.lead-form-wrapper h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.lead-form-wrapper .form-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.1);
}

.form-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.form-trust svg {
    flex-shrink: 0;
}

.form-speed {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-message {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--color-bg);
    padding: 5rem 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question .faq-toggle {
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--color-primary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 0 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* --- Final CTA Banner --- */
.final-cta {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 1.5rem;
}

.final-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 550px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* --- Landing Footer (minimal) --- */
.landing-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.landing-footer a:hover {
    color: #fff;
}

.landing-footer .footer-links-landing {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* --- Phone Topbar (Sticky on Mobile) --- */
.phone-topbar {
    background: var(--color-primary-dark);
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.phone-topbar a {
    color: #fff;
    text-decoration: none;
}

.phone-topbar a:hover {
    text-decoration: underline;
}

/* --- Navbar offset (below phone-topbar) --- */
.navbar {
    top: 36px;
    padding: 1rem 0;
    /* Height of phone-topbar so navbar sits right below */
}

/* Adjust hero padding to account for topbar + navbar combined height */
.landing-hero {
    padding-top: 8rem;
}

@media (max-width: 768px) {
    .phone-topbar {
        font-size: 0.78rem;
        padding: 0.4rem 0.75rem;
    }

    .navbar {
        top: 32px;
        /* Slightly shorter topbar on mobile */
    }

    .landing-hero {
        padding-top: 7rem;
    }
    
    .method-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Opcional: reducir un poco el espacio en móvil */
    }
}

/* --- WhatsApp Button (circular override from snippet) --- */
/* --- Form Grid Layout --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
    /* Reset margin bottom as grid handles gap */
}

.form-group.half-width {
    grid-column: span 1;
}

.form-group.full-width,
.btn-block.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-group.half-width,
    .form-group.full-width,
    .btn-block.full-width {
        grid-column: span 1;
    }
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

/* --- Utility --- */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

/* Pulse animation for CTA */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.35);
    }

    50% {
        box-shadow: 0 4px 35px rgba(255, 152, 0, 0.6);
    }
}

.btn-accent {
    animation: pulse-glow 2.5s infinite;
}

.btn-accent:hover {
    animation: none;
}



/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* LIMA Link specific style */
#lima-link {
    color: inherit;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

#lima-link:hover {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--color-primary-dark);
}

/* --- Pricing Section --- */
.pricing-section {
    background: var(--color-bg-alt);
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
}

.pricing-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.price-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: 800;
}

.pricing-footer {
    margin-top: auto;
}