/* ═══════════════════════════════════════════════════
   Manteles Personalizados — Landing
   Variables, Hero gradient + FAQ accordion
═══════════════════════════════════════════════════ */

/* ── Variables compartidas ───────────────────────── */
.hero-fiubags,
.faq-fiubags {
    --hf-green: #3a7d78;
    --hf-green-mid: #6eaba5;
    --hf-green-light: #a8ceca;
    --hf-mint: #e4f2f1;
    --hf-wa: #25D366;
    --hf-wa-dark: #128C7E;
    --hf-text: #1a3634;
    --hf-muted: #4e7b78;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero-fiubags {
    position: relative;
    background-color: var(--hf-green);
    background-image: linear-gradient(105deg,rgba(18,14,12,0.84) 0%,rgba(28,22,18,0.75) 50%,rgba(40,30,24,0.55) 100%), url("/assets/images/manteles-personalizados/slide-manteles-personalizados.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(3rem, 7vw, 5rem) 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    animation: hf-rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    margin-bottom: 0;
}

.hero-fiubags .hf-container {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-fiubags .hf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    opacity: 0;
    animation: hf-fade 0.7s 0.1s ease-out forwards;
}
.hero-fiubags .hf-eyebrow svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hero-fiubags .hf-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5.4vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    max-width: 18ch;
    opacity: 0;
    animation: hf-rise-text 0.85s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-fiubags .hf-title .accent {
    color: var(--hf-green-light);
}

.hero-fiubags .hf-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0 0 18px;
    opacity: 0;
    animation: hf-rise-text 0.85s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-fiubags .hf-subtitle em {
    font-style: italic;
    color: #fff;
    font-weight: 600;
}
.hero-fiubags .hf-subtitle .mark {
    display: inline-block;
    font-style: italic;
    font-weight: 600;
    color: var(--hf-green);
    background: var(--hf-mint);
    padding: 0.05em 0.4em;
    border-radius: 4px;
    margin: 0 0.05em;
}

.hero-fiubags .hf-lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 0 32px;
    opacity: 0;
    animation: hf-fade 0.7s 0.45s ease-out forwards;
}
.hero-fiubags .hf-lead strong {
    font-weight: 600;
    color: #fff;
}

.hero-fiubags .hf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 36px;
    opacity: 0;
    animation: hf-fade 0.7s 0.6s ease-out forwards;
}

.hero-fiubags .hf-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hf-wa);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-fiubags .hf-cta:hover {
    background: var(--hf-wa-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}
.hero-fiubags .hf-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.hero-fiubags .hf-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-fiubags .hf-micro {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36ch;
    margin: 0;
    line-height: 1.55;
}

.hero-fiubags .hf-specs {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    animation: hf-fade 0.8s 0.8s ease-out forwards;
}
.hero-fiubags .hf-specs li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}
.hero-fiubags .hf-specs li::before {
    content: '✓';
    color: var(--hf-green-light);
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Hero animations */
@keyframes hf-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hf-rise-text {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hf-fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-fiubags {
    --ff-bg: #f6fbfb;
    --ff-white: #fff;
    --ff-rule: rgba(110, 171, 165, 0.20);
    --ff-shadow: 0 4px 24px rgba(61, 125, 120, 0.10);

    clear: both;
    width: 100%;
    background: var(--ff-bg);
    padding: clamp(3rem, 6vw, 5rem) 0;
    font-family: 'Poppins', sans-serif;
    color: var(--hf-text);
}

.faq-fiubags .ff-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-fiubags .ff-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.faq-fiubags .ff-badge {
    display: inline-block;
    background: var(--hf-mint);
    color: var(--hf-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.faq-fiubags .ff-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--hf-text);
    line-height: 1.2;
    margin: 0 0 12px;
}
.faq-fiubags .ff-desc {
    font-size: 1rem;
    color: var(--hf-muted);
    max-width: 560px;
    line-height: 1.65;
    margin: 0 auto;
}

.faq-fiubags .ff-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-fiubags .ff-item {
    background: var(--ff-white);
    border: 1px solid var(--ff-rule);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-fiubags .ff-item:hover {
    border-color: var(--hf-green-mid);
    box-shadow: var(--ff-shadow);
}

.faq-fiubags .ff-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    color: var(--hf-text);
    transition: color 0.2s ease, background 0.2s ease;
}
.faq-fiubags .ff-question:hover {
    color: var(--hf-green);
    background: rgba(228, 242, 241, 0.35);
}
.faq-fiubags .ff-question[aria-expanded="true"] {
    color: var(--hf-green);
    background: rgba(228, 242, 241, 0.55);
}
.faq-fiubags .ff-question:focus-visible {
    outline: 2px solid var(--hf-green-mid);
    outline-offset: -2px;
}
.faq-fiubags .ff-question h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    color: inherit;
}

.faq-fiubags .ff-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hf-mint);
    color: var(--hf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.faq-fiubags .ff-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-fiubags .ff-question[aria-expanded="true"] .ff-icon {
    background: var(--hf-green);
    color: #fff;
}
.faq-fiubags .ff-question[aria-expanded="true"] .ff-icon svg {
    transform: rotate(180deg);
}

.faq-fiubags .ff-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--hf-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-fiubags .ff-answer::before {
    content: "";
    display: block;
    height: 1px;
    background: var(--ff-rule);
    margin: 0 0 1rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 575px) {
    .faq-fiubags .ff-question { padding: 1rem; gap: 0.75rem; }
    .faq-fiubags .ff-question h3 { font-size: 0.95rem; }
    .faq-fiubags .ff-answer { padding: 0 1rem 1rem; font-size: 0.92rem; }
    .faq-fiubags .ff-icon { width: 32px; height: 32px; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero-fiubags,
    .hero-fiubags * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .faq-fiubags * {
        transition: none !important;
    }
}
