/* =========================
   ESTILOS GENERALES
========================= */
body {
    margin: 0;
    padding: 0;
    background: #f5f7fb;
    color: #1f2937;
}

.pizzeria-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #6d9cee;
    color: #051f75;
    border: 1px solid #6f9df3;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.pizzeria-section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px auto;
}

.pizzeria-section-heading h3 {
    font-size: 2.2rem;
    color: #0b298b;
    margin-bottom: 14px;
    font-weight: 800;
}

.pizzeria-section-heading p {
    font-size: 1.08rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* =========================
   BANNER MODERNO AZUL
========================= */
.pizzeria-banner-modern {
    position: relative;
    width: 100%;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #18376b;
}

.pizzeria-banner-modern img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pizzeria-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,40,90,0.90), rgba(24,55,107,0.90));
}

.pizzeria-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    color: #fff;
}

.pizzeria-badge {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.pizzeria-banner-content h1 {
    font-size: 3.1rem;
    line-height: 1.12;
    margin: 0 0 16px;
    font-weight: 800;
}

.pizzeria-banner-content p {
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.96;
}

/* =========================
   HERO PRINCIPAL
========================= */
.pizzeria-hero {
    padding: 80px 0 70px;
    background: #f5f7fb;
}

.pizzeria-hero-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.pizzeria-hero-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    color: #092287e4;
    margin: 0 0 20px;
    font-weight: 800;
}

.pizzeria-hero-text p {
    font-size: 1.12rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 28px;
}

.pizzeria-features {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #93b9ef;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(161,28,28,0.06);
}

.feature i {
    color: #081f7d;
    font-size: 1rem;
}

.feature span {
    font-size: 1rem;
    color: #243041;
    font-weight: 500;
}

/* =========================
   IMAGEN PRINCIPAL
========================= */
.pizzeria-hero-image {
    display: flex;
    justify-content: center;
}

.pizzeria-banner-container {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.15);
    max-width: 620px;
    width: 100%;
}

.pizzeria-banner {
    width: 100%;
    display: block;
    border-radius: 22px;
}

.pizzeria-card {
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 260px;
    max-width: 45%;
    border-radius: 22px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.22);
}

/* =========================
   ROLES
========================= */
.pizzeria-roles-section {
    padding: 20px 0 90px;
    background: linear-gradient(to bottom, #f5f7fb 0%, #1A3A6B 100%);
}

.pizzeria-roles {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 24px;
}

.pizzeria-rol-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(161,28,28,0.08);
    padding: 26px 22px;
    border: 1px solid #f3dede;
}

.pizzeria-rol-large {
    min-height: 100%;
}

.pizzeria-rol-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #091a88e7;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pizzeria-rol-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pizzeria-rol-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 11px;
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

.pizzeria-rol-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #0b2477e5;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.92rem;
}

.pizzeria-rol-icon {
    font-size: 1.4rem;
    color: #05115f;
}

.pizzeria-roles-bottom {
    width: min(900px, calc(100% - 40px));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* =========================
   FAQ
========================= */
.pizzeria-faq-wrapper {
    padding: 0 0 90px;
    background: #fff5f5;
}

.pizzeria-faq-section {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr;
    gap: 36px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(168,35,35,0.08);
    padding: 40px 32px 32px 32px;
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    align-items: start;
    border: 1px solid #f3dede;
}

.pizzeria-faq {
    min-width: 0;
}

.pizzeria-faq h2 {
    color: #081284c1;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: -1px;
}

.pizzeria-faq-item {
    background: #f9f6f4;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(168,35,35,0.04);
    margin-bottom: 18px;
    transition: box-shadow 0.3s;
    border: 1.5px solid #f0e0e0;
    overflow: hidden;
}

.pizzeria-faq-item.active {
    box-shadow: 0 4px 16px rgba(168,35,35,0.10);
    border-color: #021471;
}

.pizzeria-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #03215d;
    cursor: pointer;
    font-size: 1.08rem;
    padding: 20px 24px 20px 18px;
    background: transparent;
    transition: background 0.2s;
    gap: 14px;
}

.pizzeria-faq-item.active .pizzeria-faq-question {
    background: #fff3f3;
}

.pizzeria-faq-toggle {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-left: 16px;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    flex-shrink: 0;
}

.pizzeria-faq-toggle::before {
    content: '';
    display: block;
    width: 0.8em;
    height: 0.8em;
    border-right: 3.5px solid #021a5be3;
    border-bottom: 3.5px solid #041949;
    border-radius: 2px;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.pizzeria-faq-item.active .pizzeria-faq-toggle {
    transform: rotate(90deg) scale(1.1);
}

.pizzeria-faq-answer {
    color: #3a2323;
    font-size: 1.02rem;
    padding: 18px 24px 18px 24px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 1px 4px rgba(168,35,35,0.03);
    display: none;
    animation: faqFadeIn 0.35s;
    line-height: 1.7;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pizzeria-faq-img {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
}

.pizzeria-faq-img img {
    max-width: 260px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(168,35,35,0.10);
    object-fit: cover;
    background: #fff;
    padding: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .pizzeria-hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .pizzeria-hero-text {
        text-align: center;
    }

    .pizzeria-features {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .pizzeria-card {
        right: -20px;
        bottom: -25px;
        width: 220px;
    }

    .pizzeria-roles {
        grid-template-columns: 1fr;
    }

    .pizzeria-faq-section {
        grid-template-columns: 1fr;
    }

    .pizzeria-faq-img {
        order: -1;
    }

    .pizzeria-faq h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .pizzeria-banner-modern {
        min-height: 320px;
    }

    .pizzeria-banner-content h1 {
        font-size: 2.2rem;
    }

    .pizzeria-banner-content p {
        font-size: 1rem;
    }

    .pizzeria-hero {
        padding: 60px 0 40px;
    }

    .pizzeria-hero-text h2 {
        font-size: 2.2rem;
    }

    .pizzeria-hero-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .pizzeria-section-heading h3 {
        font-size: 1.8rem;
    }

    .pizzeria-roles-bottom {
        grid-template-columns: 1fr;
    }

    .pizzeria-banner-container {
        padding: 12px;
    }

    .pizzeria-card {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        margin: 16px auto 0;
        width: 75%;
        max-width: 260px;
    }

    .pizzeria-faq-section {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .pizzeria-banner-content h1 {
        font-size: 1.8rem;
    }

    .pizzeria-badge,
    .pizzeria-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .pizzeria-hero-container,
    .pizzeria-roles,
    .pizzeria-roles-bottom,
    .pizzeria-faq-section {
        width: min(100% - 24px, 1200px);
    }

    .pizzeria-hero-text h2 {
        font-size: 1.9rem;
    }

    .feature {
        padding: 12px 14px;
    }

    .pizzeria-rol-card {
        padding: 18px 14px;
    }

    .pizzeria-rol-card h3 {
        font-size: 1.08rem;
    }

    .pizzeria-rol-card ul li,
    .pizzeria-faq-answer,
    .pizzeria-faq-question {
        font-size: 0.95rem;
    }
}