/* --- MerryFlame Warm Friendly CSS --- */
/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    font-family: 'Roboto', Arial, sans-serif;
    color: #212436;
    background: #faf7f1;
    min-height: 100vh;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}
button, input, select, textarea {
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
    font-size: 100%;
}
button {
    cursor: pointer;
    appearance: none;
    background: none;
}

/* --- Variables for fallback --- */
:root {
    --color-primary: #19264e;
    --color-secondary: #f7b733;
    --color-accent: #faf7f1;
    --color-white: #fff;
    --color-grey: #ece6db;
    --color-shadow: rgba(31, 26, 24, 0.06);
    --font-display: 'Montserrat', Arial, sans-serif;
    --font-body: 'Roboto', Arial, sans-serif;
}

/* --- Layout Containers and Core Structure --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.text-section {
    margin-bottom: 16px;
}

section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}
.hero, .hero-small {
    padding-top: 32px;
    padding-bottom: 32px;
    background: var(--color-secondary);
    background: linear-gradient(90deg,#ffda89 0%, #f7b733 100%);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 24px var(--color-shadow);
    color: var(--color-primary);
}
.hero h1, .hero-small h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.hero p, .hero-small p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #4d4950;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
}
h1 { font-size: 2rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
h4 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol, li, address { 
    color: #212436;
    font-family: var(--font-body);
    font-size: 1rem;
}
ul:not([class]) li, ol:not([class]) li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}
ul:not([class]) li:before, ol:not([class]) li:before {
    content: '\2022';
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

strong { font-weight: 600; }

/* ----- Navigation & Header ----- */
header {
    background: var(--color-accent);
    box-shadow: 0 2px 12px var(--color-shadow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 18px;
}
header nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
header nav a {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-primary);
    padding: 8px 14px;
    border-radius: 22px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}
header nav a:hover, header nav a:focus {
    background: var(--color-secondary);
    color: #19264e;
}
header nav a.cta-primary {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 24px;
    margin-left: 8px;
    border-radius: 26px;
    box-shadow: 0 2px 8px var(--color-shadow);
    font-size: 1.04rem;
    font-weight: 700;
    transition: background 0.2s, box-shadow 0.2s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
    background: #26387a;
    color: #fff;
    box-shadow: 0 3px 16px var(--color-shadow);
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--color-primary);
    background: var(--color-accent);
    border-radius: 50%;
    padding: 8px;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 2px 8px var(--color-shadow);
    z-index: 120;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
    box-shadow: 0 0 0 3px var(--color-secondary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-accent);
    z-index: 130;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 0 32px;
    box-shadow: 0 12px 40px var(--color-shadow);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.5,0.1,0.3,1);
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    color: var(--color-primary);
    background: var(--color-secondary);
    border-radius: 50%;
    padding: 5px 13px;
    margin-bottom: 28px;
    margin-right: -8px;
    margin-top: 8px;
    border: 2px solid #ffe09e;
    transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #ffe09e;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.15rem;
    padding: 14px 8px;
    border-radius: 18px;
    color: var(--color-primary);
    background: none;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* --- Main Calls to Action --- */
.cta-primary {
    display: inline-block;
    font-family: var(--font-display);
    background: var(--color-primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: 26px;
    font-weight: bold;
    font-size: 1.02rem;
    box-shadow: 0 2px 14px var(--color-shadow);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    margin-top: 14px;
    letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
    background: #26387a;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px var(--color-shadow);
}
.cta-secondary {
    display: inline-block;
    font-family: var(--font-display);
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 11px 28px;
    border-radius: 26px;
    font-weight: bold;
    font-size: 1.02rem;
    box-shadow: 0 2px 10px var(--color-shadow);
    transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.18s;
    margin-top: 12px;
    letter-spacing: 0.01em;
}
.cta-secondary:hover, .cta-secondary:focus {
    background: #ffe09e;
    color: #19264e;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 16px var(--color-shadow);
}

/* --- Features Grid --- */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 24px;
}
.feature-grid > div {
    flex: 1 1 230px;
    background: #fff;
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 4px 18px var(--color-shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 240px;
    max-width: 320px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.feature-grid > div:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 8px 32px var(--color-shadow);
}
.feature-grid img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--color-accent);
    padding: 6px;
}
.feature-grid h3 {
    margin: 0 0 2px 0;
    font-size: 1.13rem;
    color: var(--color-primary);
}

/* --- Testimonials --- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 3px 14px var(--color-shadow);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.testimonial-card p {
    flex: 1;
    font-size: 1.14rem;
    color: #322e30;
    margin-bottom: 0;
    font-style: italic;
    font-family: var(--font-body);
}
.testimonial-card span {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-display);
    margin-left: 8px;
}

/* --- Card Containers (for generic usage) --- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 14px var(--color-shadow);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 28px;
}

/* --- Content Grid Section --- */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* --- Text & Image Side Sections --- */
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* --- Feature Items --- */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* --- FAQ List --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}
.faq-list h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.faq-list p {
    font-size: 1rem;
    color: #212436;
}

/* --- Step/Diagram --- */
.step-diagram ol {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: flex-start;
    counter-reset: step-num;
    padding-left: 0;
    margin-bottom: 24px;
}
.step-diagram ol li {
    flex: 1 1 220px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 14px var(--color-shadow);
    padding: 26px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    min-width: 160px;
    position: relative;
    margin-bottom: 0;
}
.step-diagram ol li img {
    width: 36px; height: 36px;
    margin-bottom: 2px;
    background: var(--color-accent);
    border-radius: 12px;
    padding: 5px;
}
.step-diagram ol li strong {
    margin-bottom: 2px;
}

/* --- Ticket Types List --- */
.content-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 16px;
}
.content-wrapper ul li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--color-shadow);
    font-size: 1rem;
}
.content-wrapper ul li img {
    width: 30px; height: 30px;
    background: var(--color-accent);
    border-radius: 10px;
    padding: 5px;
}

/* --- Ordered List Styles (Steps) --- */
ol:not([class]), .text-section ol {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 24px;
    margin-bottom: 10px;
}
ol:not([class]) li, .text-section ol li {
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}
ol:not([class]) li:before, .text-section ol li:before {
    content: counter(item) '.';
    counter-increment: item;
    color: var(--color-secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Address & Footer Social --- */
address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    color: #212436;
}
address img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: -3px;
}
address a {
    color: var(--color-primary);
    text-decoration: underline;
}
.footer-social {
    display: flex;
    gap: 16px;
    padding: 8px 0 0 0;
    align-items: center;
}
.footer-social img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-secondary);
    padding: 4px;
    transition: background 0.18s;
    cursor: pointer;
}
.footer-social img:hover {
    background: #ffe09e;
}

footer {
    background: var(--color-accent);
    border-radius: 32px 32px 0 0;
    padding: 44px 0 0 0;
    box-shadow: 0 -2px 24px var(--color-shadow);
    font-size: 14px;
}
footer .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
footer nav a {
    color: #5e6377;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 16px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}
footer nav a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}
footer p {
    color: #8c887e;
    font-size: 0.93rem;
    margin-top: 12px;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: #fffbe7;
    border-top: 2px solid var(--color-secondary);
    box-shadow: 0 -2px 16px var(--color-shadow);
    z-index: 300;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 23px 24px;
    gap: 22px;
    font-family: var(--font-body);
    font-size: 1rem;
    animation: bannerIn 0.44s cubic-bezier(0.5,0.1,0.2,1);
}
@keyframes bannerIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
    color: #52493d;
    flex: 1 1 220px;
    margin-bottom: 0;
}
.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cookie-consent-banner .btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 22px;
    border: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    margin-right: 2px;
    margin-bottom: 0;
    cursor: pointer;
}
.cookie-consent-banner .btn-accept {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-consent-banner .btn-accept:hover, .cookie-consent-banner .btn-accept:focus {
    background: #26387a;
}
.cookie-consent-banner .btn-reject {
    background: var(--color-grey);
    color: var(--color-primary);
}
.cookie-consent-banner .btn-reject:hover, .cookie-consent-banner .btn-reject:focus {
    background: #e2d3bc;
    color: #19264e;
}
.cookie-consent-banner .btn-settings {
    background: var(--color-secondary);
    color: #19264e;
}
.cookie-consent-banner .btn-settings:hover, .cookie-consent-banner .btn-settings:focus {
    background: #ffd559;
}
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(25,38,78,0.18);
    z-index: 350;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    animation: modalIn 0.28s cubic-bezier(0.6,0.2,0.3,1);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(48px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 12px 32px var(--color-shadow);
    padding: 38px 34px 28px 34px;
    width: 95vw;
    max-width: 410px;
    position: relative;
    font-family: var(--font-body);
    color: #212436;
    animation: modalIn 0.38s cubic-bezier(0.6,0.2,0.3,1);
}
.cookie-modal h3 {
    margin: 0 0 18px 0;
    font-size: 1.15rem;
    color: var(--color-primary);
    font-family: var(--font-display);
}
.cookie-options {
    margin-bottom: 18px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.cookie-category label {
    font-size: 1rem;
    font-weight: 500;
}
.cookie-category input[type="checkbox"] {
    margin-right: 5px;
    width: 19px;
    height: 19px;
    accent-color: var(--color-secondary);
    border-radius: 6px;
}
.cookie-category span[aria-label="always-enabled"] {
    color: var(--color-secondary);
    font-size: 0.88rem;
    margin-left: 3px;
}
.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 22px;
}
.cookie-modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    transition: background 0.18s;
}
.cookie-modal-close:hover {
    background: #ffd559;
}



/* ---- RESPONSIVE DESIGN: Mobile First ---- */
@media (max-width: 992px) {
    .container { max-width: 960px; }
    .feature-grid { gap: 18px; }
    .feature-grid > div { min-width: 180px; max-width: 100%; padding: 25px 15px; }
    .step-diagram ol { gap: 14px; }
}
@media (max-width: 768px) {
    .container {
        max-width: 98vw;
        padding-left: 12px;
        padding-right: 12px;
    }
    header .container {
        flex-direction: row;
        gap: 8px;
    }
    header nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .content-wrapper { gap: 18px; }
    .feature-grid, .content-grid {
        flex-direction: column;
        gap: 14px;
    }
    .feature-grid > div, .step-diagram ol li {
        min-width: 85vw;
        max-width: 100%;
        width: 100%;
        padding: 17px 12px;
    }
    .testimonial-card {
        flex-direction: column;
        gap: 8px;
        padding: 13px 12px;
    }
    .testimonial-card p { font-size: 1rem; }
    .testimonial-card span { font-size: 0.94rem; }
    .text-image-section { flex-direction: column; gap: 12px; align-items: stretch; }
    .cookie-consent-banner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 19px 10px;
        font-size: 0.97rem;
    }
    footer {
        padding: 30px 0 0 0;
    }
    footer .content-wrapper {
        gap: 12px;
    }
}
@media (max-width: 560px) {
    h1 { font-size: 1.36rem; }
    h2 { font-size: 1.08rem; }
    .cta-primary, .cta-secondary {
        padding: 10px 12vw;
        font-size: 0.98rem;
    }
}

/* --- Animation Utility Classes --- */
.fade-in {
    opacity: 0;
    animation: fadein1 0.42s forwards cubic-bezier(0.5,0.1,0.4,1.0);
}
@keyframes fadein1 {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

/* --- Utility: Focus Ring --- */
a:focus, button:focus, input:focus, .cta-primary:focus, .cta-secondary:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* --- Prevent Overlapping --- */
section, .card-container > *, .content-grid > * {
    margin-bottom: 20px;
}

/* --- Miscellaneous: Hide visually but accessible --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* --- END --- */
