/* ============================================================
   FRANQUICIAS · Misma identidad que Inicio / Sucursales /
   Banquetes / Contacto / Delivery / Menú
   Todo vive dentro de .fr para no chocar con navbar ni footer
   ============================================================ */

.fr {
    --green: #3a5a40;
    --green-dk: #2b4430;
    --leaf: #3c8f2e;
    --yellow: #ffd41f;
    --yellow-soft: #fff2a8;
    --cream: #faf5e6;
    --tan: #ead9a6;
    --sage: #c8ddb7;
    --brown: #3b2a20;

    --border: 2.5px solid var(--brown);
    --shadow: 5px 5px 0 var(--brown);
    --shadow-sm: 3px 3px 0 var(--brown);

    --f-display: 'Fraunces', Georgia, serif;
    --f-cond: 'Anton', 'Arial Narrow', sans-serif;
    --f-body: 'Outfit', system-ui, sans-serif;

    font-family: var(--f-body);
    color: var(--brown);
    background: var(--cream);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

.fr *, .fr *::before, .fr *::after { box-sizing: border-box; }
.fr :where(h1, h2, h3, h4) { margin: 0; font-weight: 400; line-height: 1.1; }
.fr p { margin: 0; }

/* ================= HERO ================= */
.fr-hero {
    position: relative;
    background-color: var(--green);
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    text-align: center;
}

.fr-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 8.5rem 1.5rem 4.8rem; /* espacio extra por el navbar fijo */
}

.fr-hero__kicker {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--yellow);
    margin-bottom: .2rem;
}

.fr-hero__row { position: relative; display: inline-block; }

.fr-hero__title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(3rem, 11vw, 7rem);
    color: var(--yellow);
    letter-spacing: -.01em;
    text-shadow: 2px 2px 0 var(--green-dk), 4px 4px 0 var(--green-dk), 6px 6px 0 rgba(0, 0, 0, .22);
}

.fr-hero__sub {
    max-width: 540px;
    margin: 1.4rem auto 0;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
}

/* Sticker "Próximamente" (como "Eventos a tu medida") */
.fr-sticker {
    position: absolute;
    top: -1.6rem;
    right: -6.2rem;
    width: 118px; height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    text-align: center;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: .98rem;
    line-height: 1.05;
    color: var(--brown);
    background: var(--yellow);
    border: var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow);
    transform: rotate(10deg);
    animation: fr-wobble 4s ease-in-out infinite;
}
.fr-sticker i { font-size: 1.4rem; color: var(--green); }

/* Remate festoneado */
.fr-scallop {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 20px;
    background: radial-gradient(circle at 20px 20px, var(--cream) 19px, transparent 19.5px) 0 0 / 40px 20px repeat-x;
}

/* Decoraciones flotantes */
.fr-deco { position: absolute; z-index: 1; pointer-events: none; }

.fr-deco--leaf-a, .fr-deco--leaf-b {
    width: 74px; height: 74px;
    background: #a9cc9c;
    border: 3px solid var(--green-dk);
    border-radius: 0 100% 0 100%;
}
.fr-deco--leaf-a { top: 9rem; left: 5%; transform: rotate(-12deg); }
.fr-deco--leaf-b { bottom: 20%; right: 6%; transform: rotate(70deg) scale(.85); }

.fr-deco--spark { bottom: 22%; left: 9%; font-size: 3rem; color: var(--tan); animation: fr-twinkle 3s ease-in-out infinite; }

.fr-deco--lemon {
    top: 7rem; right: 6%;
    width: 78px; height: 78px;
    border-radius: 50%;
    border: 6px solid #8a6a3d;
    background: repeating-conic-gradient(var(--tan) 0 12deg, #fbefc4 12deg 24deg);
    box-shadow: 4px 4px 0 var(--green-dk);
}

/* ================= CUERPO ================= */
.fr-body {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.6rem 1.5rem 5rem;
}

.fr-leaf {
    position: absolute;
    width: 90px; height: 90px;
    background: var(--sage);
    border: 3px solid var(--green);
    border-radius: 0 100% 0 100%;
    opacity: .75;
    pointer-events: none;
}
.fr-leaf--1 { top: 2.4rem; left: -10px; transform: rotate(-20deg); }
.fr-leaf--2 { top: 4rem; right: -10px; transform: rotate(75deg) scale(.8); }

.fr-head { position: relative; text-align: center; max-width: 760px; margin: 0 auto 3.8rem; }

.fr-pill {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--tan);
    color: var(--green-dk);
    border: 2px solid var(--green-dk);
    border-radius: 99px;
    padding: .25rem .9rem;
}
.fr-pill i { margin-right: .25rem; }

.fr-title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.6rem);
    color: var(--green);
    margin: .8rem 0 .9rem;
    text-shadow: 3px 3px 0 var(--yellow);
}

.fr-lead { font-weight: 500; font-size: 1.05rem; opacity: .85; }

/* ================= TARJETAS ================= */
.fr-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 3.4rem 2rem;
    margin-bottom: 4rem;
}

.fr-card {
    position: relative;
    text-align: center;
    border: var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 3.4rem 1.6rem 2rem;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}

.fr-card--0 { background: var(--yellow-soft); }
.fr-card--1 { background: #fff; }
.fr-card--2 { background: var(--sage); }

.fr-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--brown); }

.fr-card__icon {
    position: absolute;
    top: -40px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 80px;
    display: grid; place-items: center;
    font-size: 2.1rem;
    color: var(--green);
    background: var(--yellow);
    border: var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm), inset 0 0 0 3px var(--cream);
}

.fr-card__num {
    position: absolute;
    top: -14px; left: 16px;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--yellow);
    background: var(--brown);
    border-radius: 50%;
    z-index: 2;
}

.fr-card__title {
    font-family: var(--f-cond);
    font-size: 1.65rem;
    letter-spacing: .02em;
    color: var(--green-dk);
    margin-bottom: .7rem;
}

.fr-card__text { font-weight: 500; font-size: .98rem; opacity: .9; }

/* ================= AVISO / CTA ================= */
.fr-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 1.4rem 2rem;
}

.fr-notice__icon {
    flex: none;
    width: 84px; height: 84px;
    display: grid; place-items: center;
    font-size: 2.3rem;
    color: var(--green);
    background: var(--yellow-soft);
    border: 3px solid var(--green);
    border-radius: 50%;
}

.fr-notice__text { flex: 1 1 260px; }
.fr-notice__text h3 { font-family: var(--f-cond); font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: .02em; color: var(--green-dk); margin: .5rem 0 .25rem; }
.fr-notice__text p { font-weight: 500; opacity: .85; }

.fr-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: var(--cream);
    background: var(--leaf);
    border: var(--border);
    border-radius: 99px;
    padding: .8rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.fr-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--brown); background: var(--green); color: var(--cream); }
.fr-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--brown); }
.fr-btn:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 3px; }

/* ================= ANIMACIONES ================= */
/* Solo se ocultan si el JS está activo (si falla, todo se ve igual) */
.fr.js .fr-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.fr.js .fr-reveal.is-in { opacity: 1; transform: none; }

@keyframes fr-wobble { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(6deg) scale(1.05); } }
@keyframes fr-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
    .fr *, .fr *::before, .fr *::after { animation: none !important; transition: none !important; }
    .fr.js .fr-reveal { opacity: 1; transform: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .fr-sticker { right: -4.4rem; width: 100px; height: 100px; font-size: .85rem; }
}

@media (max-width: 768px) {
    .fr-hero__inner { padding: 7.5rem 1rem 4.4rem; }
    .fr-hero__row { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .fr-sticker { position: static; transform: rotate(-4deg); }
    .fr-deco--leaf-a { width: 50px; height: 50px; }
    .fr-deco--lemon { width: 52px; height: 52px; border-width: 4px; }
    .fr-deco--leaf-b, .fr-deco--spark, .fr-leaf { display: none; }
    .fr-notice { text-align: center; padding: 1.4rem 1.2rem; }
}

@media (max-width: 480px) {
    .fr-body { padding-inline: 1rem; }
    .fr-btn { width: 100%; justify-content: center; }
}