:root{
    --ink:#12212b;
    --muted:#65747e;
    --line:#dce5e8;
    --paper:#ffffff;
    --soft:#f4f8f7;
    --brand:#0a6a61;
    --brand-dark:#074f49;
    --accent:#e7a640;
    --night:#102724;
    --radius:24px;
    --shadow:0 20px 55px rgba(15,41,43,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.container.narrow{width:min(820px,calc(100% - 40px))}
.topbar{background:var(--night);color:#d9e9e6;font-size:13px}
.topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar a{color:white}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(16,39,36,.08)}
.nav-wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;min-width:220px}
.brand img{height:48px;max-width:165px;object-fit:contain}
.brand-mark{width:46px;height:46px;border-radius:15px;background:var(--brand);display:grid;place-items:center;color:#fff;font-weight:800;font-size:22px}
.brand strong,.brand small{display:block}
.brand strong{font-size:15px;line-height:1.2}
.brand small{font-size:11px;color:var(--muted);margin-top:3px}
.main-nav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:650}
.main-nav>a{padding:30px 0;position:relative}
.main-nav>a:after{content:"";position:absolute;left:0;right:100%;bottom:21px;height:2px;background:var(--brand);transition:.2s}
.main-nav>a:hover:after{right:0}
.nav-search input{width:150px;border:1px solid var(--line);border-radius:999px;padding:9px 13px;background:#f9fbfb;outline:none}
.nav-toggle{display:none;border:0;background:none;font-size:26px}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#eff8f4 0%,#fff7eb 100%);padding:72px 0 84px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center;position:relative;z-index:2}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(50px,6vw,78px);line-height:.98;letter-spacing:-2.8px;margin:20px 0 24px;max-width:760px}
.hero-copy>p{font-size:18px;color:var(--muted);max-width:650px}
.pill{display:inline-flex;align-items:center;border:1px solid rgba(10,106,97,.20);background:rgba(255,255,255,.68);border-radius:999px;padding:7px 13px;color:var(--brand-dark);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;font-weight:800;font-size:14px;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{border-color:var(--line);background:#fff}
.btn-block{width:100%}
.hero-stats{display:flex;gap:36px;margin-top:42px;padding-top:28px;border-top:1px solid rgba(18,33,43,.12)}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats strong{font-size:26px}
.hero-stats span{font-size:12px;color:var(--muted)}
.hero-visual{position:relative;min-height:520px}
.hero-visual>img,.hero-placeholder{width:100%;height:520px;object-fit:cover;border-radius:40px 40px 110px 40px;box-shadow:var(--shadow)}
.hero-placeholder{background:linear-gradient(145deg,#0a6a61,#102724);display:grid;place-items:center;color:white;font-family:Georgia,serif;font-size:34px;text-align:center;padding:40px}
.hero-float-card{position:absolute;left:-40px;bottom:32px;width:min(310px,80%);background:#fff;border-radius:22px;padding:18px 20px;box-shadow:var(--shadow)}
.hero-float-card span,.hero-float-card strong,.hero-float-card a{display:block}
.hero-float-card span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
.hero-float-card strong{margin:5px 0 8px}
.hero-float-card a{color:var(--brand);font-size:13px;font-weight:800}
.hero-shape{position:absolute;border-radius:50%;filter:blur(2px);opacity:.45}
.hero-shape-a{width:220px;height:220px;background:#b8ddd1;top:-80px;right:8%}
.hero-shape-b{width:160px;height:160px;background:#f1cd8c;left:8%;bottom:-80px}
.section{padding:82px 0}
.section-soft{background:var(--soft)}
.section-dark{background:var(--night);color:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}
.section-head h2{font-family:Georgia,serif;font-size:42px;line-height:1.05;margin:7px 0 0;letter-spacing:-1px}
.section-head.light .eyebrow{color:#a6d8cf}
.eyebrow{color:var(--brand);font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:850}
.text-link{color:var(--brand);font-weight:800;font-size:14px}
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.2s;min-width:0}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-media{display:block;height:240px;background:#e8efef;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;transition:.35s}
.card:hover .card-media img{transform:scale(1.04)}
.media-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#dceee9,#f4e7d1);color:var(--brand);font-weight:800}
.card-body{padding:22px}
.card h3{font-family:Georgia,serif;font-size:24px;line-height:1.15;margin:8px 0 12px}
.card p{margin:0;color:var(--muted);font-size:14px}
.card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.card-meta span{font-size:11px;padding:5px 9px;border-radius:999px;background:var(--soft);color:var(--brand-dark);font-weight:700}
.destination-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.destination-grid.large{grid-template-columns:repeat(3,1fr)}
.destination-tile{height:260px;border-radius:24px;overflow:hidden;position:relative;background:linear-gradient(145deg,#0a6a61,#102724);box-shadow:0 12px 35px rgba(16,39,36,.11)}
.destination-tile img{width:100%;height:100%;object-fit:cover;opacity:.86;transition:.35s}
.destination-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(8,24,23,.78))}
.destination-tile span{position:absolute;left:20px;right:20px;bottom:18px;color:#fff;font-family:Georgia,serif;font-size:25px;z-index:2}
.destination-tile:hover img{transform:scale(1.05)}
.quote-card{background:#17332f;border:1px solid rgba(255,255,255,.08);padding:26px;border-radius:24px}
.quote-mark{font-family:Georgia,serif;color:#8dd3c6;font-size:54px;line-height:.7}
.quote-card p{color:#d3e4e1}
.page-hero{background:linear-gradient(135deg,#eff8f4,#fff7eb);padding:76px 0}
.page-hero.compact h1{font-family:Georgia,serif;font-size:58px;line-height:1;margin:10px 0 14px}
.page-hero p{color:var(--muted);max-width:650px}
.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}
.filter-chips a{padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:750}
.filter-chips a.active,.filter-chips a:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.filter-chips small{opacity:.68}
.pagination-wrap{margin-top:38px}
.pagination-wrap nav{display:flex;justify-content:center}
.pagination-wrap nav>div:first-child{display:none}
.pagination-wrap nav>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pagination-wrap svg{width:18px}
.pagination-wrap a,.pagination-wrap span{padding:8px 12px;border:1px solid var(--line);border-radius:10px}
.detail-hero{height:560px;position:relative;display:flex;align-items:end;background:var(--night);overflow:hidden}
.detail-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.detail-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,29,27,.12),rgba(9,29,27,.88))}
.detail-hero-content{position:relative;z-index:2;color:#fff;padding-bottom:58px}
.detail-hero h1{font-family:Georgia,serif;font-size:clamp(44px,6vw,72px);line-height:1;margin:16px 0;max-width:900px}
.detail-meta{display:flex;gap:12px;flex-wrap:wrap}
.detail-meta span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:6px 10px;border-radius:999px;font-size:12px}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:38px;align-items:start}
.detail-sidebar{position:sticky;top:130px}
.booking-card,.content-panel,.sidebar-card{border:1px solid var(--line);border-radius:24px;background:#fff;padding:26px;box-shadow:0 10px 30px rgba(14,40,42,.05)}
.booking-card h3{font-family:Georgia,serif;font-size:28px;margin:8px 0 18px}
.booking-card dl{margin:0 0 24px}
.booking-card dl>div{display:grid;grid-template-columns:100px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.booking-card dt{font-size:12px;color:var(--muted)}
.booking-card dd{margin:0;font-size:13px;font-weight:750}
.detail-content{display:flex;flex-direction:column;gap:22px}
.content-panel h2{font-family:Georgia,serif;font-size:30px;margin-top:0}
.split-panels{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.success-panel{border-top:4px solid #2d987f}
.danger-panel{border-top:4px solid #d57a67}
.prose{font-size:16px}
.prose h1,.prose h2,.prose h3,.prose h4{font-family:Georgia,serif;line-height:1.2}
.prose img{height:auto;border-radius:16px;margin:24px auto}
.prose table{width:100%;border-collapse:collapse;display:block;overflow:auto}
.prose td,.prose th{border:1px solid var(--line);padding:10px 12px}
.prose a{color:var(--brand);text-decoration:underline}
.prose ul,.prose ol{padding-left:22px}
.timeline{position:relative}
.timeline-item{display:grid;grid-template-columns:22px 1fr;gap:14px;padding-bottom:22px}
.timeline-dot{width:12px;height:12px;border-radius:50%;background:var(--brand);margin-top:7px;box-shadow:0 0 0 5px #e7f2ef}
.timeline-item:not(:last-child) .timeline-dot:after{content:"";display:block;width:2px;height:calc(100% + 28px);background:#d8e8e4;margin:12px 0 0 5px}
.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.gallery-grid img{width:100%;height:250px;object-fit:cover;margin:0}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:38px}
.stack-list{display:flex;flex-direction:column;gap:24px}
.horizontal-card{display:grid;grid-template-columns:260px 1fr;gap:24px;border-bottom:1px solid var(--line);padding-bottom:24px}
.horizontal-media{height:190px;border-radius:20px;overflow:hidden;background:var(--soft)}
.horizontal-media img{width:100%;height:100%;object-fit:cover}
.horizontal-card h2{font-family:Georgia,serif;font-size:28px;line-height:1.12;margin:7px 0 10px}
.horizontal-card p{color:var(--muted)}
.sidebar-card{position:sticky;top:130px}
.sidebar-card h3{margin-top:0}
.sidebar-links{display:flex;flex-direction:column}
.sidebar-links a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.article-hero{text-align:center;padding:70px 0 38px}
.article-hero h1{font-family:Georgia,serif;font-size:clamp(44px,6vw,70px);line-height:1.03;margin:12px 0}
.byline{color:var(--muted)}
.article-cover{width:100%;height:min(560px,60vw);object-fit:cover;border-radius:30px}
.article-section{padding-top:52px}
.article-prose{font-size:18px;line-height:1.85}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:24px;margin-top:36px}
.post-tags a{padding:6px 10px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:12px}
.big-search{display:flex;gap:10px;margin-top:24px}
.big-search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:999px;padding:13px 18px;font-size:15px;outline:none;background:#fff}
.search-summary{color:var(--muted)}
.search-results article{padding:24px 0;border-bottom:1px solid var(--line)}
.search-results h2{font-family:Georgia,serif;font-size:29px;line-height:1.15;margin:6px 0}
.search-results p{color:var(--muted)}
.empty-state{border:1px dashed var(--line);border-radius:20px;padding:32px;text-align:center;color:var(--muted);grid-column:1/-1}
.site-footer{background:#0b211f;color:#d7e6e3;padding:60px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:40px}
.footer-grid h3,.footer-grid h4{color:#fff}
.footer-grid a,.footer-grid span{display:block;color:#b8cfca;margin:7px 0}
.footer-grid .muted{color:#789b94;max-width:520px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:40px;padding-top:20px;font-size:12px;color:#789b94}
@media(max-width:980px){
    .main-nav{display:none;position:absolute;top:118px;left:20px;right:20px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
    .nav-open .main-nav{display:flex}
    .main-nav>a{padding:8px 4px}
    .nav-toggle{display:block}
    .hero-grid{grid-template-columns:1fr;gap:36px}
    .hero-visual{min-height:420px}
    .hero-visual>img,.hero-placeholder{height:420px}
    .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
    .destination-grid,.destination-grid.large{grid-template-columns:repeat(2,1fr)}
    .detail-layout,.article-layout{grid-template-columns:1fr}
    .detail-sidebar,.sidebar-card{position:static}
}
@media(max-width:650px){
    .container,.container.narrow{width:min(100% - 28px,1180px)}
    .topbar-inner{justify-content:center}
    .topbar-inner span:first-child{display:none}
    .brand small{display:none}
    .hero{padding:50px 0 58px}
    .hero h1{font-size:48px;letter-spacing:-1.8px}
    .hero-stats{gap:18px;justify-content:space-between}
    .hero-float-card{left:14px;right:14px;width:auto}
    .section{padding:58px 0}
    .section-head h2{font-size:35px}
    .section-head{align-items:start}
    .grid-3,.grid-4,.destination-grid,.destination-grid.large{grid-template-columns:1fr}
    .destination-tile{height:230px}
    .split-panels,.gallery-grid{grid-template-columns:1fr}
    .horizontal-card{grid-template-columns:1fr}
    .horizontal-media{height:220px}
    .detail-hero{height:480px}
    .detail-hero h1{font-size:44px}
    .page-hero.compact h1{font-size:46px}
    .footer-grid{grid-template-columns:1fr}
    .big-search{flex-direction:column}
}

/* ===== Marioga 2026 modern homepage ===== */
body{font-family:"Manrope","Avenir Next",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em}
.site-header{box-shadow:0 1px 0 rgba(16,39,36,.06)}
.nav-wrap{min-height:76px}.main-nav{font-size:13px}.main-nav>a{padding:27px 0}.main-nav>a:after{bottom:18px}
.section{padding:76px 0}.section-compact{padding-top:32px}.section-head h2,.partners-head h2,.experience-grid h2,.home-intro-card h2{font-family:inherit;font-weight:800;letter-spacing:-.045em;color:var(--ink)}
.home-intro-section{padding:34px 0 20px}.home-intro-card{display:grid;grid-template-columns:1.35fr .65fr;gap:48px;align-items:end;padding:38px 42px;border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:0 18px 60px rgba(15,41,43,.06)}.home-intro-card h2{font-size:clamp(30px,4vw,52px);line-height:1.05;margin:8px 0 0;max-width:780px}.home-intro-card p{margin:0;color:var(--muted);font-size:15px}
.card{border-radius:20px}.card h3{font-family:inherit;font-weight:750;letter-spacing:-.035em}.section-head h2{font-size:clamp(32px,4vw,48px)}
.experience-section{background:linear-gradient(135deg,#f7faf9 0%,#eef6f3 55%,#fff8ee 100%);overflow:hidden}.experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:stretch}.review-panel,.video-panel{min-width:0}.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:850;color:var(--brand);margin-bottom:7px}.experience-grid h2{font-size:clamp(32px,4vw,46px);margin:0 0 22px}
.review-marquee{overflow:hidden;position:relative;padding:6px 0 18px}.review-marquee:before,.review-marquee:after{content:"";position:absolute;top:0;bottom:0;width:60px;z-index:3;pointer-events:none}.review-marquee:before{left:0;background:linear-gradient(90deg,#f3f8f6,transparent)}.review-marquee:after{right:0;background:linear-gradient(270deg,#f3f8f6,transparent)}.review-track{display:flex;gap:16px;width:max-content;animation:reviewMarquee 36s linear infinite}.review-marquee:hover .review-track{animation-play-state:paused}@keyframes reviewMarquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 8px))}}.review-card{width:340px;min-height:210px;background:#fff;border:1px solid rgba(10,106,97,.12);border-radius:24px;padding:24px;box-shadow:0 14px 35px rgba(15,41,43,.07)}.review-quote{font-size:46px;color:var(--accent);line-height:.8}.review-card p{font-size:14px;color:#46545c;line-height:1.7;font-style:italic;min-height:94px}.review-author{display:flex;align-items:center;gap:11px}.review-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;font-weight:800}.review-author strong,.review-author small{display:block}.review-author strong{font-size:13px}.review-author small{font-size:11px;color:var(--accent);margin-top:1px}
.video-gallery{display:grid;grid-template-columns:190px 1fr;gap:14px;background:#102724;border-radius:24px;padding:14px;min-height:330px;box-shadow:var(--shadow)}.video-list{display:flex;flex-direction:column;gap:7px;max-height:302px;overflow-y:auto;padding-right:4px;scrollbar-width:thin}.video-item{display:flex;align-items:center;gap:9px;border:0;text-align:left;padding:12px;border-radius:13px;background:rgba(255,255,255,.07);color:#d7e4e1;font:inherit;font-size:12px;cursor:pointer;transition:.18s}.video-item:hover,.video-item.active{background:#fff;color:var(--brand-dark)}.video-play{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:9px;flex:0 0 auto}.video-frame-wrap{position:relative;overflow:hidden;border-radius:15px;background:#000;min-height:302px}.video-frame{position:absolute;inset:0;width:100%;height:100%;border:0}
.gallery-section{background:#fff}.section-note{font-size:12px;color:var(--muted)}.masonry-gallery{columns:4 250px;column-gap:16px}.gallery-tile{break-inside:avoid;margin:0 0 16px;position:relative;border-radius:18px;overflow:hidden;background:#eef3f1}.gallery-tile img{width:100%;height:auto;display:block;transition:transform .35s ease}.gallery-tile:hover img{transform:scale(1.025)}.gallery-tile figcaption{position:absolute;left:12px;right:12px;bottom:12px;padding:9px 11px;border-radius:12px;background:rgba(5,30,28,.70);backdrop-filter:blur(8px);color:#fff;font-size:11px}
.partners-section{padding-top:54px;border-top:1px solid #edf1f0}.partners-head{text-align:center;margin-bottom:27px}.partners-head h2{font-size:clamp(30px,4vw,44px);margin:6px 0 0}.partners-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.partner-card{min-height:112px;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;transition:.2s}.partner-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,41,43,.08)}.partner-card img{width:100%;height:58px;object-fit:contain}.partner-card span{font-size:10px;color:var(--muted);font-weight:700;text-align:center}
.modern-footer{background:#f3f5f5;color:#465159}.footer-social-zone{text-align:center;padding:44px 0 26px;border-bottom:1px solid #dfe5e4}.footer-social-zone h3{margin:0 0 16px;font-size:20px;color:#364247}.social-links{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.social-links a{width:40px;height:40px;border:1.5px solid #1693be;border-radius:50%;display:grid;place-items:center;color:#1693be;transition:.18s;background:#fff}.social-links a:hover{background:#1693be;color:#fff;transform:translateY(-2px)}.social-links svg{width:18px;height:18px;fill:currentColor}.modern-footer .footer-grid{padding-top:34px}.modern-footer .footer-bottom{border-top:1px solid #dfe5e4}
@media(max-width:900px){.home-intro-card,.experience-grid{grid-template-columns:1fr}.partners-grid{grid-template-columns:repeat(3,1fr)}.video-gallery{grid-template-columns:160px 1fr}.masonry-gallery{columns:3 200px}}
@media(max-width:640px){.home-intro-card{padding:26px;gap:18px}.partners-grid{grid-template-columns:repeat(2,1fr)}.video-gallery{grid-template-columns:1fr}.video-list{max-height:165px}.video-frame-wrap{min-height:230px}.review-card{width:285px}.masonry-gallery{columns:2 145px}.section{padding:56px 0}}

/* ================================================================
   LANGUAGE SWITCHER
   ================================================================ */
.topbar-actions{display:flex;align-items:center;gap:16px}.language-switch{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.06em}.language-switch a{color:inherit;text-decoration:none;opacity:.58;transition:.2s ease}.language-switch a:hover,.language-switch a.active{opacity:1}.language-switch a.active{background:#fff;color:var(--primary,#1d6b4f);padding:3px 7px;border-radius:999px}.language-switch-nav{display:none;color:inherit;border-color:rgba(0,0,0,.12)}.language-switch-nav a.active{background:var(--primary,#1d6b4f);color:#fff}@media(max-width:900px){.topbar .language-switch{display:none}.language-switch-nav{display:inline-flex;margin-top:8px}}

/* ================================================================
   V4 UI STABILITY: HEADER NAVIGATION, ARTICLE CONTENT, FLOATING CTA
   ================================================================ */
.mobile-nav-head,.nav-backdrop{display:none}
.nav-toggle{width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:10px;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer;position:relative;z-index:72}
.nav-toggle span{display:block;width:20px;height:2px;border-radius:99px;background:var(--ink);transition:transform .22s ease,opacity .2s ease}
.nav-open .nav-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-open .nav-toggle span:nth-child(2){opacity:0}
.nav-open .nav-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.main-nav>a{white-space:nowrap}
.main-nav a,.brand,.language-switch a{cursor:pointer}

/* Legacy WordPress content is normalised into a modern readable article. */
.article-section{padding-top:42px}
.article-prose{max-width:820px;overflow-wrap:anywhere}
.article-prose>*:first-child{margin-top:0}
.article-prose h1,.article-prose h2,.article-prose h3,.article-prose h4,.article-prose h5,.article-prose h6{font-family:"Manrope",Inter,sans-serif;font-weight:800;letter-spacing:-.035em;color:var(--ink);margin:1.8em 0 .65em;line-height:1.15}
.article-prose h2{font-size:clamp(28px,4vw,38px)}
.article-prose h3{font-size:clamp(23px,3vw,30px)}
.article-prose h4,.article-prose h5,.article-prose h6{font-size:20px}
.article-prose p{margin:0 0 1.15em}
.article-prose ul,.article-prose ol{margin:1em 0 1.5em;padding-left:1.45em}
.article-prose li{margin:.42em 0}
.article-prose img{max-width:100%!important;width:auto;height:auto!important;margin:26px auto;border-radius:18px;box-shadow:0 10px 32px rgba(15,41,43,.08)}
.article-prose iframe,.article-prose video{max-width:100%;border:0;border-radius:16px}
.article-prose table{width:100%!important;max-width:100%;overflow:auto;border-radius:14px}
.article-prose form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}
.article-prose form fieldset{display:contents!important}
.article-prose form label{display:block!important;font-size:12px;font-weight:800;color:var(--ink);margin:0 0 -10px}
.article-prose form input,.article-prose form textarea,.article-prose form select{width:100%!important;min-width:0!important;max-width:100%;border:1px solid #cfdadc;border-radius:12px;padding:12px 13px;background:#fff;color:var(--ink);font:inherit;outline:none}
.article-prose form input:focus,.article-prose form textarea:focus,.article-prose form select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(10,106,97,.10)}
.article-prose form textarea{min-height:120px;resize:vertical;grid-column:1/-1}
.article-prose form button,.article-prose form input[type="submit"]{width:auto!important;border:0;border-radius:999px;padding:12px 20px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer;justify-self:start}
.article-prose form button:hover,.article-prose form input[type="submit"]:hover{background:var(--brand-dark)}
.article-prose a{word-break:break-word}
.article-prose .elementor-widget-container,.article-prose .elementor-element,.article-prose [class*="elementor-"]{max-width:100%!important}

.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-powered{color:#65747e!important;font-size:11px;font-weight:700;letter-spacing:.02em}
.footer-powered:hover{color:var(--brand)!important}
.powered-watermark{display:none!important}

.floating-action{position:fixed;right:18px;z-index:60;display:flex;align-items:center;justify-content:center;border:0;box-shadow:0 12px 30px rgba(12,42,37,.22);transition:transform .2s ease,opacity .2s ease,visibility .2s ease;cursor:pointer}
.floating-whatsapp{left:18px;right:auto;bottom:20px;min-height:52px;padding:0 17px 0 13px;gap:9px;border-radius:999px;background:#20b75a;color:#fff;font-size:12px;font-weight:800}
.floating-whatsapp:hover{transform:translateY(-3px);background:#18a550;color:#fff}
.floating-whatsapp svg{width:27px;height:27px;fill:currentColor}
.scroll-top{bottom:20px;width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;font-size:22px;opacity:0;visibility:hidden;transform:translateY(8px)}
.scroll-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.scroll-top:hover{background:var(--brand-dark);transform:translateY(-2px)}

@media(max-width:980px){
    body.nav-open{overflow:hidden}
    .nav-toggle{display:flex}
    .nav-backdrop{display:block;position:fixed;inset:0;z-index:68;border:0;background:rgba(7,24,22,.42);opacity:0;visibility:hidden;pointer-events:none;transition:.25s}
    .nav-open .nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}
    .main-nav{display:flex!important;position:fixed!important;z-index:70!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;width:min(390px,88vw)!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;padding:22px 22px 28px!important;box-shadow:-24px 0 70px rgba(7,30,27,.20)!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;overflow-y:auto!important;transform:translateX(105%);visibility:hidden;transition:transform .28s ease,visibility .28s ease}
    .nav-open .main-nav{transform:translateX(0);visibility:visible}
    .mobile-nav-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 17px;margin-bottom:5px;border-bottom:1px solid var(--line)}
    .mobile-nav-head strong{font-size:15px}
    .mobile-nav-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:25px;line-height:1;cursor:pointer}
    .main-nav>a{display:flex!important;align-items:center;min-height:52px!important;padding:12px 2px!important;margin:0!important;border-bottom:1px solid #eef2f1;font-size:14px!important;line-height:1.25!important}
    .main-nav>a:after{display:none!important}
    .nav-search{margin-top:18px}
    .nav-search input{width:100%!important;padding:12px 14px!important}
    .language-switch-nav{display:inline-flex!important;align-self:flex-start;margin-top:14px!important}
    .brand{min-width:0}
    .brand-copy{display:none}
}
@media(max-width:650px){
    .nav-wrap{min-height:72px}
    .brand img{height:45px;max-width:170px}
    .main-nav{width:min(345px,91vw)!important;padding:18px 18px 24px!important}
    .article-prose{font-size:16px;line-height:1.75}
    .article-prose form{grid-template-columns:1fr;padding:18px;gap:15px}
    .article-prose form textarea{grid-column:auto}
    .floating-whatsapp{left:14px;right:auto;bottom:16px;width:50px;min-height:50px;padding:0;border-radius:50%}
    .floating-whatsapp span{display:none}
    .floating-whatsapp svg{width:26px;height:26px}
    .scroll-top{right:14px;bottom:18px;width:44px;height:44px}
}

/* ================================================================
   V5 RESPONSIVE STABILITY, CONTACT FORM, BLUE FOOTER, IMAGE SAFETY
   ================================================================ */
:root{
    --marioga-blue:#0b67a8;
    --marioga-blue-dark:#074b7c;
    --marioga-blue-soft:#eaf5fb;
}
html,body{max-width:100%;overflow-x:hidden}
body{min-width:0}
main{min-width:0;min-height:45vh}
img{max-width:100%;height:auto}
img.image-fallback{object-fit:cover;background:linear-gradient(135deg,var(--marioga-blue),var(--brand));}

/* Navigation drawer should never alter page width or create two close buttons. */
@media(max-width:980px){
    .nav-open .nav-toggle{opacity:0;visibility:hidden;pointer-events:none}
    .main-nav{max-width:calc(100vw - 28px)!important}
    .nav-backdrop{width:100vw!important;height:100dvh!important}
}
@media(max-width:650px){
    .container,.container.narrow{width:min(100% - 28px,1180px)}
    .main-nav{width:min(340px,calc(100vw - 34px))!important;max-width:calc(100vw - 34px)!important}
    .nav-wrap{width:100%;padding-inline:14px}
    .brand{min-width:0;max-width:calc(100% - 58px)}
    .brand img{max-width:min(170px,100%);height:44px}
}

/* Fixed actions: stable size, never stretches the mobile viewport. */
.floating-action{box-sizing:border-box;max-width:calc(100vw - 28px);isolation:isolate}
.floating-whatsapp{left:18px;right:auto;bottom:20px;white-space:nowrap}
.scroll-top{right:18px;bottom:20px}
@media(max-width:650px){
    .floating-whatsapp{
        left:14px!important;right:auto!important;bottom:16px!important;
        width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;
        min-height:50px!important;padding:0!important;gap:0!important;border-radius:50%!important;
        overflow:hidden!important;
    }
    .floating-whatsapp span{display:none!important}
    .floating-whatsapp svg{width:27px!important;height:27px!important;min-width:27px!important}
    .scroll-top{
        right:14px!important;bottom:16px!important;
        width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;
        padding:0!important;border-radius:50%!important;
    }
}

/* Marioga blue footer */
.site-footer.modern-footer{
    background:linear-gradient(135deg,var(--marioga-blue-dark),var(--marioga-blue));
    color:#eaf6ff;
    padding:0 0 24px;
}
.modern-footer .footer-social-zone{border-bottom:1px solid rgba(255,255,255,.16);padding:42px 0 28px}
.modern-footer .footer-social-zone h3,
.modern-footer .footer-grid h3,
.modern-footer .footer-grid h4{color:#fff}
.modern-footer .footer-grid{padding-top:34px}
.modern-footer .footer-grid p,
.modern-footer .footer-grid a,
.modern-footer .footer-grid span{color:rgba(255,255,255,.78)}
.modern-footer .footer-grid a:hover{color:#fff}
.modern-footer .footer-bottom{border-top:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.68)}
.modern-footer .footer-powered{color:rgba(255,255,255,.75)!important}
.modern-footer .footer-powered:hover{color:#fff!important}
.modern-footer .social-links a{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.72);color:#fff}
.modern-footer .social-links a:hover{background:#fff;color:var(--marioga-blue);border-color:#fff}

/* Legacy WordPress pages are constrained so imported markup cannot break layout. */
.legacy-page-content{overflow-wrap:anywhere;word-break:normal}
.legacy-page-content>*{max-width:100%}
.legacy-page-content img{max-width:100%!important;height:auto!important;margin:24px auto;border-radius:18px;object-fit:cover}
.legacy-page-content table{width:100%!important;max-width:100%;display:block;overflow-x:auto;border-collapse:collapse}
.legacy-page-content iframe{display:block;width:100%!important;max-width:100%!important;min-height:340px;height:clamp(320px,46vw,440px)!important;border:0;border-radius:18px;margin:22px 0}
.legacy-page-content input,.legacy-page-content textarea,.legacy-page-content select,.legacy-page-content button{font:inherit}

/* Contact / booking forms imported from the old WordPress site. */
.prose form{
    width:100%!important;max-width:760px!important;
    margin:30px 0!important;padding:26px!important;
    border:1px solid var(--line)!important;border-radius:22px!important;
    background:#fff!important;box-shadow:0 16px 45px rgba(12,62,94,.08)!important;
}
.prose form fieldset{
    width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;
    display:flex!important;flex-direction:column!important;gap:9px!important;background:transparent!important;
}
.prose form legend{font-size:19px!important;font-weight:800!important;color:var(--ink)!important;margin:0 0 10px!important;width:auto!important;height:auto!important;text-indent:0!important;overflow:visible!important}
.prose form label{display:block!important;margin:8px 0 2px!important;font-size:12px!important;font-weight:800!important;color:#29414e!important;line-height:1.3!important}
.prose form input:not([type="checkbox"]):not([type="radio"]),
.prose form textarea,
.prose form select{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    min-height:46px!important;margin:0!important;padding:11px 13px!important;
    border:1px solid #cbd9e1!important;border-radius:12px!important;background:#fff!important;
    color:var(--ink)!important;outline:none!important;box-shadow:none!important;
}
.prose form textarea{min-height:130px!important;resize:vertical!important}
.prose form input:focus,.prose form textarea:focus,.prose form select:focus{border-color:var(--marioga-blue)!important;box-shadow:0 0 0 3px rgba(11,103,168,.11)!important}
.prose form button,.prose form input[type="submit"]{
    width:auto!important;min-height:46px!important;margin-top:10px!important;padding:11px 20px!important;
    border:0!important;border-radius:999px!important;background:var(--marioga-blue)!important;color:#fff!important;
    font-weight:800!important;cursor:pointer!important;align-self:flex-start!important;
}
.prose form button:hover,.prose form input[type="submit"]:hover{background:var(--marioga-blue-dark)!important}

/* Contact page emphasis */
.page-contact-us h2,.page-contact h2{color:var(--marioga-blue-dark)}
.page-contact-us a,.page-contact a{color:var(--marioga-blue);font-weight:650}
.page-contact-us form,.page-contact form{background:linear-gradient(180deg,#fff,#f7fbfe)!important}

/* Imported content sometimes ships with fixed pixel widths. Override safely. */
.prose [width]{max-width:100%!important}
.prose div,.prose section,.prose article{max-width:100%}

@media(max-width:650px){
    .page-hero{padding:46px 0}
    .page-hero.compact h1{font-size:clamp(34px,10vw,46px)}
    .section{padding:52px 0}
    .prose form{padding:18px!important;border-radius:18px!important}
    .legacy-page-content iframe{min-height:280px;height:320px!important}
    .modern-footer .footer-social-zone{padding:34px 0 22px}
}

/* ================================================================
   V6 MOBILE DRAWER FIX
   A backdrop-filter on a sticky ancestor can become the containing
   block for fixed descendants in mobile browsers. Keep the header
   opaque on mobile so the drawer can use the full viewport height.
   ================================================================ */
@media (max-width:980px){
    .site-header{
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
        background:#fff!important;
        overflow:visible!important;
        contain:none!important;
    }
    .main-nav{
        top:0!important;
        bottom:auto!important;
        height:100vh!important;
        height:100dvh!important;
        min-height:100vh!important;
        min-height:100dvh!important;
        max-height:100dvh!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
        background:#fff!important;
    }
    .nav-open .main-nav{
        transform:translate3d(0,0,0)!important;
        visibility:visible!important;
    }
    .mobile-nav-head{
        position:sticky;
        top:0;
        z-index:2;
        background:#fff;
        padding-top:2px;
    }
    .main-nav > a,
    .nav-search,
    .language-switch-nav{
        flex:0 0 auto;
    }
}
@media (max-width:650px){
    .main-nav{
        width:min(340px,calc(100vw - 24px))!important;
        max-width:calc(100vw - 24px)!important;
        padding:18px 18px max(28px,env(safe-area-inset-bottom))!important;
    }
}

/* ================================================================
   V7 FLOATING ACTION POSITION
   WhatsApp replaces the old bottom-left powered watermark.
   ================================================================ */
.powered-watermark{display:none!important}
.floating-whatsapp{
    left:18px!important;
    right:auto!important;
    bottom:20px!important;
}
.scroll-top{
    left:auto!important;
    right:18px!important;
    bottom:20px!important;
}
@media(max-width:650px){
    .floating-whatsapp{
        left:14px!important;
        right:auto!important;
        bottom:16px!important;
        width:50px!important;
        height:50px!important;
        min-width:50px!important;
        max-width:50px!important;
        min-height:50px!important;
    }
    .scroll-top{
        left:auto!important;
        right:14px!important;
        bottom:16px!important;
    }
}
