/* MJL Website Templates: shared styles. Each page sets its own theme variables in :root. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body, system-ui, sans-serif); color: var(--ink); background: var(--bg);
    line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head, inherit); line-height: 1.15; color: var(--ink); font-weight: var(--head-weight, 700); }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: var(--on-dark, #fff); }
.section.dark h2, .section.dark h3 { color: var(--on-dark, #fff); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-family: var(--font-body); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.dark .section-head p { color: var(--on-dark-muted, rgba(255,255,255,.75)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-btn, 999px); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary, #fff); cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; font-family: var(--font-body); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--primary); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--primary); color: var(--on-primary, #fff); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }

/* Demo ribbon (remove when you use this template) */
.mjl-demo { background: #111; color: #eee; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; padding: 8px 44px 8px 16px; position: relative; z-index: 60; }
.mjl-demo a { color: #f5c542; text-decoration: none; margin-left: 6px; }
.mjl-demo a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg, rgba(255,255,255,.92)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: var(--radius-logo, 10px); background: var(--primary); color: var(--on-primary, #fff); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); opacity: .85; }
.nav a:hover { color: var(--primary); opacity: 1; }
.nav .btn { padding: 10px 20px; font-size: .9rem; opacity: 1; color: var(--on-primary, #fff); }
.nav .btn:hover { color: var(--on-primary, #fff); }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; margin: auto; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0; background: var(--hero-bg, var(--bg)); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 40px; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.hero-stats span { font-size: .88rem; color: var(--muted); }
.hero-art { position: relative; }
.hero-art .ph { aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg, 28px); }
.hero-badge { position: absolute; left: -22px; bottom: 34px; background: #fff; color: #222; border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); display: flex; align-items: center; gap: 12px; font-size: .9rem; max-width: 260px; }
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: 1rem; }
.hero.center .container { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero.center p.lead { margin-inline: auto; }
.hero.center .hero-actions, .hero.center .hero-stats { justify-content: center; }
.hero.photo { color: #fff; min-height: min(86vh, 760px); display: grid; align-items: center; }
.hero.photo .hero-bg { position: absolute; inset: 0; }
.hero.photo .hero-bg .ph { position: absolute; inset: 0; border-radius: 0; height: 100%; }
.hero.photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay, linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6))); }
.hero.photo .container { position: relative; z-index: 1; }
.hero.photo h1, .hero.photo .hero-stats b { color: #fff; }
.hero.photo h1 em { color: var(--accent); }
.hero.photo .hero-bg .ph { --ph-bg: radial-gradient(ellipse at 75% 30%, var(--accent) -40%, transparent 55%), linear-gradient(140deg, var(--primary), var(--dark)); }
.hero.photo .hero-bg .ph svg { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 26%; max-width: 300px; opacity: .22; }
.hero.photo p.lead, .hero.photo .hero-stats span { color: rgba(255,255,255,.85); }
.hero.photo .btn.ghost { color: #fff; border-color: #fff; }
.hero.photo .btn.ghost:hover { background: #fff; color: var(--ink); }

/* Booking bar (hotel / rentals) */
.booking-bar { position: relative; z-index: 2; margin-top: -48px; }
.booking-bar form { background: #fff; color: #222; border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.4); padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.booking-bar label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #666; display: grid; gap: 6px; }

/* Placeholder art (replace with your own photos) */
.ph { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius, 18px); overflow: hidden; background: var(--ph-bg, linear-gradient(135deg, var(--accent-soft), var(--bg-alt))); display: grid; place-items: center; color: var(--ph-ink, var(--primary)); isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.55), transparent 42%),
    radial-gradient(circle at 85% 90%, var(--ph-glow, rgba(0,0,0,.08)), transparent 50%); z-index: -1; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 22px 22px; opacity: .08; z-index: -1; }
.ph svg { width: 34%; height: auto; max-width: 160px; opacity: .9; stroke-width: 1.25; }
.ph .ph-label { position: absolute; left: 14px; bottom: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.85); color: #333; padding: 5px 10px; border-radius: 999px; }
.ph.v2 { --ph-bg: linear-gradient(160deg, var(--primary-soft, var(--accent-soft)), var(--accent-soft)); }
.ph.v3 { --ph-bg: linear-gradient(200deg, var(--bg-alt), var(--primary-soft, var(--accent-soft))); }
.ph.deep { --ph-bg: linear-gradient(140deg, var(--primary), var(--dark)); --ph-ink: rgba(255,255,255,.85); }

/* Features strip */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 26px; border-radius: var(--radius, 18px); background: var(--card, #fff); border: 1px solid var(--line); }
.feature .ic, .card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg, .card .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; font-family: var(--font-body); }
.feature p { font-size: .94rem; color: var(--muted); }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.art-stack { position: relative; }
.art-stack .ph:first-child { aspect-ratio: 4 / 4.6; }
.art-stack .ph.small { position: absolute; width: 46%; right: -18px; bottom: -28px; aspect-ratio: 1; border: 6px solid var(--bg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }

/* Cards (products, rentals, rooms, menu) */
.grid { display: grid; gap: 26px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card, #fff); border-radius: var(--radius, 18px); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.card .ph { border-radius: 0; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--primary); }
.price small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--primary); }
.card .link { font-weight: 700; color: var(--primary); text-decoration: none; font-size: .95rem; }
.card .link:hover { text-decoration: underline; }
.card.feature-card { padding: 28px; }
.card.feature-card h3 { margin-bottom: 8px; }
.card.feature-card p { color: var(--muted); }

/* Filter tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.tabs button { border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink); padding: 9px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: var(--font-body); }
.tabs button.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
[data-cat].hide { display: none; }

/* Menu list (restaurant / coffee) */
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 56px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.menu-item h3 { font-size: 1.12rem; }
.menu-item p { grid-column: 1 / -1; color: var(--muted); font-size: .93rem; }
.menu-item .price { font-size: 1.1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius, 18px); background: var(--card, #fff); border: 1px solid var(--line); }
.dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 10px; line-height: 1; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; font-family: var(--font-body); }
.step p { color: var(--muted); font-size: .94rem; }
.dark .step p { color: var(--on-dark-muted, rgba(255,255,255,.75)); }

/* Pricing / packages */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.plan { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg, 24px); padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.popular { border: 2px solid var(--primary); box-shadow: 0 30px 60px -36px var(--primary); }
.plan.popular::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary, #fff); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.35rem; }
.plan .price { font-size: 2.3rem; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 6px 0 14px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.plan li::before { content: "✓"; color: var(--primary); font-weight: 800; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.gallery .ph { aspect-ratio: auto; height: 100%; }
.gallery .ph:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .ph:nth-child(2) { grid-row: span 2; }
.gallery .ph:nth-child(5), .gallery .ph:nth-child(6) { grid-column: span 2; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--radius, 18px); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.dark .quote { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.quote p { font-size: 1.02rem; flex: 1; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; flex: none; }
.who b { display: block; }
.who span { font-size: .86rem; color: var(--muted); }
.dark .who span { color: var(--on-dark-muted, rgba(255,255,255,.7)); }

/* CTA band */
.cta-band { border-radius: var(--radius-lg, 28px); background: linear-gradient(130deg, var(--primary), var(--dark)); color: #fff; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg, 24px); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 30px 60px -44px rgba(0,0,0,.4); }
.form .full { grid-column: 1 / -1; }
.form label, .booking-bar label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.booking-bar label { color: #555; }
input, select { height: 48px; }
input, select, textarea { width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--input-bg, #fff); color: #222; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.form.sent .form-success { display: block; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list b { display: block; }
.contact-list span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Logos / trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 46px; align-items: center; color: var(--muted); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; opacity: .8; }

/* Footer */
.site-footer { background: var(--footer-bg, var(--dark)); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.socials a:hover { background: rgba(255,255,255,.12); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
    .features, .steps, .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid.c3, .plans, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
    .booking-bar form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-bar form .btn { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .nav { position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; transform: translateY(-130%); transition: transform .3s; z-index: -1; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
    .nav.open { transform: none; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 12px; border-bottom: 0; }
    .burger { display: block; }
    .hero .container, .split, .form-wrap, .cta-band { grid-template-columns: 1fr; }
    .split.rev > :first-child { order: 0; }
    .hero-art { max-width: 520px; }
    .hero-badge { left: 10px; }
    .art-stack .ph.small { right: 10px; }
    .menu-list { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
    .gallery .ph:nth-child(2), .gallery .ph:nth-child(5) { grid-row: span 1; grid-column: span 1; }
    .hero.photo .hero-bg .ph svg { right: -6%; width: 60%; opacity: .12; }
}
@media (max-width: 560px) {
    .features, .steps, .grid.c2, .grid.c3, .grid.c4, .plans, .quotes { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .booking-bar form { grid-template-columns: 1fr; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; }
}
.hero-art .ph-label { top: 14px; bottom: auto; }
