/* ==========================================================================
   Doce Autoral — demo site (ShopFront Kit base, re-themed)
   Custom cake atelier — bespoke, gallery-first — lavender + coral.
   ========================================================================== */
:root {
    --primary: #8B6BB8;
    --primary-dark: #4A3570;
    --accent: #F2789F;
    --accent-light: #EDE3F7;
    --bg: #FBF8FE;
    --bg-alt: #FFFFFF;
    --ink: #2E2438;
    --ink-dim: #6B5F78;
    --radius: 16px;
    --display: 'Comfortaa', sans-serif;
    --body: 'Rubik', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
    .reveal.revealed { opacity: 1; transform: none; }
}

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(251,248,254,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(139,107,184,0.14); }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-badge { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.logo-badge .icon { width: 19px; height: 19px; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--primary-dark); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 22px; border-radius: 999px; font-size: 0.82rem !important; }
.lang-toggle { font-family: var(--body); font-size: 0.76rem; font-weight: 600; color: var(--primary-dark); background: transparent; border: 1px solid rgba(139,107,184,0.3); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.lang-toggle:hover { border-color: var(--primary); background: var(--accent-light); }
.nav-mobile-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--primary); cursor: pointer; }
.nav-mobile-menu { display: none; flex-direction: column; padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.nav-mobile-menu.open { max-height: 240px; padding: 8px 28px 20px; }
.nav-mobile-menu a { padding: 10px 0; font-weight: 600; color: var(--primary-dark); border-bottom: 1px solid rgba(139,107,184,0.1); }
.nav-mobile-menu .lang-toggle { align-self: flex-start; margin: 10px 0; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 112px 28px 90px; text-align: center; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,53,112,0.5), rgba(46,36,56,0.68)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.04em; padding: 8px 20px; border-radius: 999px; margin-bottom: 26px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 6.6vw, 3.9rem); color: #fff; line-height: 1.12; margin-bottom: 20px; text-wrap: balance; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.9); margin-bottom: 12px; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-location { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75); margin-bottom: 34px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-ghost { font-family: var(--display); font-weight: 700; font-size: 0.9rem; padding: 15px 30px; border-radius: 999px; transition: transform 0.2s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(242,120,159,0.6); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { transform: translateY(-2px); }

.section { padding: 80px 0; }

/* ===== Buzz ===== */
.section-buzz { background: var(--primary); color: #fff; text-align: center; }
.buzz-inner { max-width: 640px; margin: 0 auto; }
.buzz-stats { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-bottom: 30px; }
.buzz-stat { display: flex; flex-direction: column; }
.buzz-n { font-family: var(--display); font-weight: 700; font-size: 2.2rem; }
.buzz-l { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; opacity: 0.85; }
.buzz-quote { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.buzz-quote cite { display: block; font-family: var(--body); font-weight: 500; font-size: 0.8rem; margin-top: 12px; opacity: 0.75; }

/* ===== Story ===== */
.section-story { background: var(--bg-alt); }
.story-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.story-text { font-size: 1.1rem; color: var(--ink-dim); }

/* ===== Section header ===== */
.section-header { text-align: center; max-width: 580px; margin: 0 auto 42px; }
.section-tag { display: inline-block; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-header h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.85rem, 3.6vw, 2.6rem); color: var(--primary-dark); }
.section-header p { color: var(--ink-dim); margin-top: 8px; }

/* ===== Highlights ===== */
.section-highlights { background: var(--bg); }
.highlights-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.highlight-chip { background: #fff; border: 1px solid rgba(139,107,184,0.14); border-radius: var(--radius); padding: 24px 26px; text-align: center; min-width: 160px; box-shadow: 0 4px 16px -14px rgba(74,53,112,0.25); }
.highlight-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent-light); color: var(--primary); }
.highlight-icon .icon { width: 21px; height: 21px; }
.highlight-name { display: block; font-family: var(--display); font-weight: 700; color: var(--primary-dark); font-size: 0.94rem; }
.highlight-chip-featured { background: var(--accent); border-color: var(--accent); }
.highlight-chip-featured .highlight-icon { background: rgba(255,255,255,0.2); color: #fff; }
.highlight-chip-featured .highlight-name { color: #fff; }

/* ===== Services / pricing tiers ===== */
.service-group-title { font-family: var(--display); font-weight: 700; color: var(--primary); font-size: 1.2rem; margin: 40px 0 18px; }
.service-group-title:first-of-type { margin-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service-item { background: var(--bg-alt); border: 1px solid rgba(139,107,184,0.14); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 4px 16px -14px rgba(74,53,112,0.2); }
.service-item-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--primary-dark); margin-bottom: 8px; }
.service-price { color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.service-item p { font-size: 0.88rem; color: var(--ink-dim); }
.addons-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.addons-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(139,107,184,0.2); font-weight: 500; color: var(--ink); }
.addons-list li span:last-child { color: var(--accent); font-weight: 700; font-size: 0.88rem; }
.service-note { margin-top: 28px; font-size: 0.84rem; color: var(--ink-dim); font-style: italic; text-align: center; }

/* ===== FAQ accordion ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid rgba(139,107,184,0.14); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: none; border: none; text-align: left; font-family: var(--display); font-weight: 700; font-size: 0.96rem; color: var(--primary-dark); cursor: pointer; }
.faq-question .faq-plus { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform 0.25s ease; }
.faq-item.open .faq-question .faq-plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 240px; }
.faq-answer p { padding: 0 22px 18px; font-size: 0.9rem; color: var(--ink-dim); }

/* ===== Gallery ===== */
.section-gallery { background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.gallery-card { aspect-ratio: 1; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: 0 4px 16px -12px rgba(74,53,112,0.25); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px 12px; background: linear-gradient(to top, rgba(46,36,56,0.72), transparent); font-family: var(--display); font-weight: 700; color: #fff; font-size: 0.86rem; }

/* ===== Contact ===== */
.section-contact { background: var(--primary-dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.section-contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(242,120,159,0.18), transparent 50%); pointer-events: none; }
.contact-highlight { max-width: 520px; margin: 0 auto; position: relative; }
.contact-highlight-icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.contact-highlight-icon .icon { width: 25px; height: 25px; }
.section-contact h2 { font-family: var(--display); font-weight: 700; font-size: 2.05rem; margin-bottom: 12px; }
.section-contact p { color: rgba(255,255,255,0.75); margin-bottom: 26px; }
.section-contact .btn-primary { background: var(--accent); color: #fff; }
.inquiry-form { text-align: left; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { flex: 1; min-width: 0; background: #fff; border: none; border-radius: 12px; padding: 12px 14px; font-family: var(--body); font-size: 0.92rem; color: var(--ink); }
.inquiry-form textarea { width: 100%; margin-bottom: 14px; resize: vertical; }
.inquiry-form button { width: 100%; border: none; cursor: pointer; }
.form-note { text-align: center; margin-top: 10px; font-weight: 700; font-size: 0.86rem; color: var(--accent); min-height: 1.2em; }
.form-note.error { color: #ffb3c8; }
.form-consent { text-align: center; margin-top: 10px; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.form-consent a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.contact-alt { margin-top: 18px; font-size: 0.86rem; color: rgba(255,255,255,0.65); }
.contact-alt a { color: var(--accent); font-weight: 700; }

/* ===== Visit ===== */
.section-dark { background: var(--bg); color: var(--ink); border-top: 1px solid rgba(139,107,184,0.12); }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.visit-card h3 { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--primary); margin-bottom: 10px; }
.visit-card p { color: var(--ink-dim); margin-bottom: 8px; }
.visit-card a { color: var(--primary); font-weight: 700; }
.visit-card a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.5); padding: 26px 0; text-align: center; font-size: 0.84rem; }
.footer-credit { margin-top: 4px; font-size: 0.76rem; }
.footer-credit a { color: var(--accent); font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-mobile-menu { display: flex; }
    .hero { padding: 80px 22px 56px; }
    .section { padding: 52px 0; }
    .form-row { flex-direction: column; }
}

.hp-wrap { position: absolute; left: -9999px; top: -9999px; }

/* ===== Demo disclosure banner + MuShu CTA widget (added by FromKitchenToCode) ===== */
.demo-banner {
    background: var(--primary-dark);
    color: var(--accent);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    position: relative;
    z-index: 300;
}
@keyframes mushuEnter {
    from { opacity: 0; transform: translateY(46px) scale(0.8) rotate(6deg); }
    to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes mushuFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes signSway {
    0%, 100% { transform: rotate(4deg); }
    50% { transform: rotate(-2deg); }
}
.mushu-promo {
    position: fixed; right: 20px; bottom: 20px; z-index: 400;
    display: flex; align-items: flex-end; gap: 0;
    animation: mushuEnter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.4s;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mushu-promo.dismissed { opacity: 0; transform: translateY(20px) scale(0.9) !important; pointer-events: none; }
.mushu-promo-img {
    width: 96px; height: auto; flex-shrink: 0;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.35));
    animation: mushuFloat 4.5s ease-in-out infinite;
    animation-delay: 1.1s;
    transform-origin: bottom center;
}
.mushu-promo:hover .mushu-promo-img { animation-play-state: paused; transform: translateY(-6px) rotate(-4deg) scale(1.04); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mushu-promo-sign {
    position: relative; text-decoration: none; color: var(--ink);
    background: linear-gradient(160deg, var(--bg-alt), var(--accent-light) 140%);
    border: 2.5px solid var(--accent); border-radius: 14px;
    padding: 14px 18px 14px 16px; max-width: 175px; margin: 0 -8px 44px 0;
    box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.6);
    animation: signSway 4.5s ease-in-out infinite;
    animation-delay: 1.1s;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--body);
}
.mushu-promo:hover .mushu-promo-sign { animation-play-state: paused; transform: rotate(-2deg) translateY(-4px) scale(1.03); }
.mushu-promo-sign::before {
    content: ""; position: absolute; top: -9px; left: 14px; width: 30px; height: 16px;
    background: color-mix(in srgb, var(--accent) 55%, transparent);
    border-radius: 2px; transform: rotate(-8deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.mushu-promo-sign strong { display: block; font-size: 0.84rem; line-height: 1.32; color: var(--ink); margin-bottom: 5px; font-family: var(--display); font-weight: 600; }
.mushu-promo-sign span { display: block; font-size: 0.72rem; font-weight: 700; color: var(--accent); }
.mushu-promo-close {
    position: absolute; top: -8px; right: 10px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--bg-alt); border: 1.5px solid var(--accent-light); color: var(--ink-dim);
    font-size: 0.75rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 1; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mushu-promo-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
    .mushu-promo, .mushu-promo-img, .mushu-promo-sign { animation: none !important; }
}
@media (max-width: 640px) {
    .mushu-promo { right: 10px; bottom: 10px; }
    .mushu-promo-img { width: 82px; }
    .mushu-promo-sign { max-width: 138px; padding: 11px 14px; margin-bottom: 32px; }
    .mushu-promo-sign strong { font-size: 0.74rem; }
    .mushu-promo-sign span { font-size: 0.66rem; }
}
