/*
Theme Name: Morocco View Travel
Theme URI: https://moroccoviewtravel.com/
Author: Morocco View Travel
Description: A fast, accessible block theme for private Morocco tours.
Version: 1.7.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: morocco-view-travel
*/

:root {
  --navy: #0b1f33;
  --navy-2: #132f4c;
  --gold: #b86a32;
  --gold-2: #e0a15d;
  --sand: #f6f0e5;
  --sand-2: #fffaf1;
  --ink: #17202a;
  --muted: #5d6670;
  --white: #ffffff;
  --line: #ded5c6;
  --success: #1f6b52;
  --shadow: 0 16px 46px rgba(11, 31, 51, 0.12);
  --radius: 20px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
html[lang="ja"] body, html[lang="zh-Hans"] body { line-height: 1.82; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: #8a4f25; }
button, input, textarea, select, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link {
  position: fixed; left: 16px; top: -90px; z-index: 10000;
  padding: 10px 16px; background: var(--white); color: var(--navy);
  border-radius: 10px; box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: 56px 0; }
.section-sand { background: var(--sand-2); }
.section-navy { background: var(--navy); color: var(--white); }
.eyebrow {
  margin: 0 0 12px; color: #8a4f25; font-size: .8rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.section-navy .eyebrow, .hero .eyebrow { color: var(--gold-2); }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.lead { font-size: clamp(1.06rem, 1.7vw, 1.24rem); color: var(--muted); }
.section-navy .lead { color: #d8e2ec; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 1000; margin: 0; }
.site-header { position: relative; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(11,31,51,.09); box-shadow: 0 8px 28px rgba(11,31,51,.06); backdrop-filter: blur(14px); }
body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); cursor: pointer; list-style: none; transition: border-color .2s ease, background .2s ease; }
.language-menu summary:hover { border-color: var(--gold); background: var(--sand-2); }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-flag { display: none; font-size: 1.08rem; line-height: 1; }
.language-menu summary strong { padding-left: 7px; border-left: 1px solid var(--line); color: var(--navy); font-size: .74rem; }
.language-panel { position: absolute; right: 0; top: calc(100% + 9px); z-index: 1100; width: 210px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.language-panel a { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; border-radius: 8px; color: var(--navy); font-size: .85rem; font-weight: 750; }
.language-panel a:hover { background: var(--sand); color: var(--navy); }
.language-option { display: inline-flex; align-items: center; gap: 9px; }
.language-option > span { font-size: 1.1rem; line-height: 1; }
.language-panel small { color: var(--muted); font-size: .68rem; letter-spacing: .08em; }
.site-nav { width: min(1320px, calc(100% - 40px)); min-height: 72px; display: grid; grid-template-columns: 310px minmax(0, 1fr) 310px; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 150px; height: 54px; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 3px; }
.nav-links a { padding: 10px 11px; color: var(--navy); font-size: .91rem; font-weight: 700; text-decoration: none; border-radius: 9px; }
.nav-links a:hover { background: var(--sand); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-tools .nav-cta { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 40px; padding: 8px 15px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: .82rem; font-weight: 850; line-height: 1; white-space: nowrap; text-decoration: none; box-shadow: 0 7px 18px rgba(184,106,50,.2); }
.header-tools .nav-cta:hover { background: #945026; color: var(--white); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); }
.mobile-menu summary:hover { border-color: var(--gold); background: var(--sand-2); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon { display: grid; gap: 4px; width: 21px; }
.menu-icon i { display: block; width: 100%; height: 2px; border-radius: 999px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mobile-menu[open] .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .menu-icon i:nth-child(2) { opacity: 0; }
.mobile-menu[open] .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.mobile-panel a { display: block; padding: 11px 12px; color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 8px; }
.mobile-panel a:hover { background: var(--sand); }

.hero {
  position: relative; min-height: min(760px, calc(100vh - 72px)); display: grid; align-items: center;
  color: var(--white); isolation: isolate; background: var(--navy);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,18,30,.88) 0%, rgba(5,18,30,.68) 38%, rgba(5,18,30,.16) 72%, rgba(5,18,30,.08) 100%); }
.hero-content { max-width: 760px; padding: 96px 0 120px; }
.hero h1 { max-width: 720px; margin-bottom: 20px; color: var(--white); text-wrap: balance; }
.hero-copy { max-width: 650px; margin-bottom: 30px; color: #eff4f8; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 21px;
  border: 2px solid transparent; border-radius: 999px; background: var(--gold); color: var(--navy);
  font-weight: 850; line-height: 1.1; text-decoration: none; transition: transform .2s ease, background .2s ease;
}
.button:hover { color: var(--navy); background: var(--gold-2); transform: translateY(-2px); }
.button-outline { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); color: var(--white); backdrop-filter: blur(8px); }
.button-outline:hover { background: var(--white); color: var(--navy); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-2); color: var(--white); }
.button-ghost { border-color: var(--navy); background: transparent; color: var(--navy); }

.trust-strip { position: relative; z-index: 2; margin-top: -54px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid rgba(11,31,51,.08); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { overflow: hidden; background: var(--white); border: 1px solid rgba(11,31,51,.1); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11,31,51,.07); }
.card-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { margin: 0 0 18px; color: var(--muted); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: .78rem; font-weight: 800; }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--navy); font-weight: 850; text-decoration: none; }
.text-link::after { content: "→"; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.split-media { min-height: 520px; width: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.check-list { padding: 0; margin: 25px 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.destination-card { position: relative; min-height: 340px; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); color: var(--white); isolation: isolate; }
.destination-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 34%, rgba(5,18,30,.86)); }
.destination-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.destination-card:hover img { transform: scale(1.035); }
.destination-card div { padding: 26px; }
.destination-card h3 { margin: 0 0 5px; color: var(--white); }
.destination-card p { margin: 0; color: #edf2f6; font-size: .92rem; }

.steps { counter-reset: step; }
.step { position: relative; padding: 28px 26px 28px 78px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 27px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: #d8e2ec; }
.review-panel { padding: clamp(32px, 6vw, 70px); border-radius: 28px; background: linear-gradient(135deg, var(--sand), #fff); border: 1px solid var(--line); text-align: center; }
.review-panel h2 { margin-bottom: 14px; }
.review-panel p { max-width: 700px; margin: 0 auto 24px; color: var(--muted); }

.page-hero { padding: clamp(82px, 10vw, 138px) 0; color: var(--white); background: linear-gradient(90deg, rgba(5,18,30,.9), rgba(5,18,30,.48)), var(--page-image) center / cover; }
.page-hero h1 { max-width: 850px; margin-bottom: 18px; color: var(--white); font-size: clamp(2.5rem, 6vw, 4.8rem); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: #e9f0f5; font-size: 1.15rem; }
.tours-page-hero { padding: clamp(58px, 7vw, 92px) 0; }
.tours-page-hero h1 { max-width: 920px; font-size: clamp(2.2rem, 4.8vw, 4.1rem); }
.toc { padding: 24px; background: var(--sand-2); border: 1px solid var(--line); border-radius: 16px; }
.toc strong { display: block; margin-bottom: 10px; color: var(--navy); }
.toc ul { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.tours-catalog-section { background: #f6f7f8; }
.tour-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.tour-card { overflow: hidden; background: var(--white); border: 1px solid rgba(11,31,51,.08); border-radius: 17px; box-shadow: 0 9px 25px rgba(11,31,51,.08); }
.tour-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e9edf0; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tour-card:hover .tour-card-media img { transform: scale(1.025); }
.tour-featured, .tour-duration { position: absolute; z-index: 1; border-radius: 999px; font-size: .67rem; font-weight: 900; line-height: 1.1; }
.tour-featured { top: 13px; left: 13px; padding: 7px 11px; background: linear-gradient(90deg, #d7edc0, #f1cb73); color: #26351f; letter-spacing: .07em; text-transform: uppercase; }
.tour-duration { right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 10px; background: rgba(11,31,51,.84); color: var(--white); text-align: right; }
.tour-card-body { display: flex; flex-direction: column; min-height: 286px; padding: 21px 21px 18px; }
.tour-card-start { margin: 0 0 8px; color: #8a4f25; font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.tour-card h2 { display: -webkit-box; min-height: 2.75em; margin: 0 0 10px; overflow: hidden; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 1.35vw, 1.34rem); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tour-card-summary { display: -webkit-box; margin: 0 0 16px; overflow: hidden; color: var(--muted); font-size: .88rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tour-card-details { margin-top: auto; border-top: 1px solid var(--line); }
.tour-card-details summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0 2px; color: #7b9636; cursor: pointer; font-size: .82rem; font-weight: 850; list-style: none; }
.tour-card-details summary::-webkit-details-marker { display: none; }
.tour-card-details summary span { transition: transform .2s ease; }
.tour-card-details[open] summary span { transform: rotate(90deg); }
.tour-card-expanded { padding-top: 15px; }
.tour-card-expanded ul { padding-left: 18px; margin: 0 0 15px; color: var(--muted); font-size: .82rem; }
.tour-card-expanded li { margin-bottom: 6px; }
.tour-card-expanded p { margin: 0 0 15px; color: var(--muted); font-size: .82rem; }
.tour-card-expanded .button { width: 100%; min-height: 42px; padding: 10px 12px; font-size: .78rem; }
.note { padding: 18px 20px; background: #edf7f2; border-left: 4px solid var(--success); border-radius: 4px 12px 12px 4px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.faq-list summary { cursor: pointer; padding: 18px 0; color: var(--navy); font-weight: 850; }
.faq-list details p { margin-top: 0; }
.vehicle-card .card-media { aspect-ratio: 4 / 3; object-position: center; }
.team-card { text-align: center; }
.team-card .card-media { aspect-ratio: 4 / 5; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social-link { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--sand-2); border: 1px solid var(--line); border-radius: 14px; color: var(--navy); font-weight: 850; text-decoration: none; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.contact-card-head h3 { margin: 0; }
.contact-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sand); color: #8a4f25; }
.contact-card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card > h3 { margin-bottom: 7px; }
.contact-card p { margin-bottom: 0; color: var(--muted); }
.contact-form-section { background: #f5f8fa; }
.contact-form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(38px, 7vw, 88px); align-items: start; }
.contact-form-note { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.contact-form-note strong { color: var(--navy); }
.contact-form-note p { margin: 7px 0 0; color: var(--muted); }
.contact-form-slot { align-self: start; min-width: 0; }
.mvt-contact-form { padding: clamp(25px, 4vw, 42px); border: 1px solid rgba(11,31,51,.11); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 24px; }
.form-heading .eyebrow { margin-bottom: 9px; }
.form-heading h2 { margin-bottom: 10px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.form-heading > p:last-child { margin: 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 20px; }
.form-grid p { margin: 0; }
.form-grid label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .88rem; font-weight: 800; }
.form-grid input, .form-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d1d8; border-radius: 10px; background: #fbfcfd; color: var(--ink); }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--gold); outline: 3px solid rgba(184,106,50,.2); }
.form-grid textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-privacy { margin: 18px 0; color: var(--muted); font-size: .82rem; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { margin-bottom: 20px; padding: 16px 18px; border-radius: 12px; }
.form-success { border: 1px solid #8ec6ad; background: #eaf7f1; color: #174d3d; }
.form-error { border: 1px solid #d7a19a; background: #fff0ee; color: #7b2920; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.wp-block-post { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; }
.wp-block-post-title, .wp-block-post-excerpt, .wp-block-post-date { padding-inline: 22px; }
.wp-block-post-title { font-size: 1.4rem; }
.wp-block-post-title a { color: var(--navy); text-decoration: none; }
.wp-block-post-excerpt { padding-bottom: 22px; }
.article-shell { width: min(820px, calc(100% - 40px)); margin: 70px auto; }
.article-shell .wp-block-post-title { padding: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.article-shell .wp-block-post-featured-image img { border-radius: var(--radius); }
.article-main-image { width: 100%; margin: 28px 0 34px; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.article-shell h2 { margin-top: 2.2em; }
.article-shell h3 { margin-top: 1.7em; }
.article-shell p, .article-shell li { max-width: 76ch; }
.article-shell table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 28px 0; }
.article-shell th, .article-shell td { min-width: 150px; padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-shell th { background: var(--navy); color: var(--white); }
.article-shell tbody tr:nth-child(even) { background: var(--sand-2); }
.article-shell blockquote { margin: 30px 0; padding: 24px 26px; border-left: 5px solid var(--gold); background: var(--sand-2); color: var(--navy); font-size: 1.13rem; }
.article-summary { margin: 28px 0; padding: 24px; border: 1px dashed var(--gold); border-radius: 16px; background: #fffaf1; }
.article-summary h2 { margin-top: 0; font-size: 1.45rem; }
.article-conclusion { margin-top: 48px; padding: clamp(26px, 5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #eef5f8, #fffaf1); }
.article-conclusion h2 { margin-top: 0; }
.localized-page { min-height: 55vh; }
.localized-page .card-body h3 a { color: var(--navy); text-decoration: none; }
.localized-page .card-body h3 a:hover { color: #8a4f25; }
.localized-page .section-sand > .container > .button { margin-top: 28px; }

/* Tour and destination detail pages */
.detail-hero {
  position: relative; min-height: 590px; display: grid; align-items: end; isolation: isolate;
  padding: clamp(110px, 14vw, 180px) 0 58px; color: var(--white); background: var(--navy); overflow: hidden;
}
.detail-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--detail-image) center / cover no-repeat; transform: scale(1.01); }
.detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,18,30,.93) 0%, rgba(5,18,30,.72) 48%, rgba(5,18,30,.25) 100%); }
.detail-hero h1 { max-width: 920px; margin-bottom: 18px; color: var(--white); font-size: clamp(2.45rem, 5.4vw, 5rem); }
.detail-hero > .container > p:not(.eyebrow) { max-width: 760px; margin: 0; color: #edf3f7; font-size: clamp(1.04rem, 1.8vw, 1.22rem); }
.destination-detail-hero { min-height: 540px; }
.detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 980px; margin-top: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.detail-fact { min-width: 0; padding: 17px 19px; background: rgba(5,18,30,.66); }
.detail-fact span, .detail-fact strong { display: block; }
.detail-fact span { margin-bottom: 3px; color: #c5d3de; font-size: .69rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.detail-fact strong { color: var(--white); font-size: .94rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: clamp(38px, 6vw, 82px); align-items: start; }
.detail-layout main > h2 { margin-bottom: 18px; }
.detail-layout .note { margin-top: 28px; }
.detail-sidebar { position: sticky; top: 104px; }
.detail-panel { padding: clamp(24px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 28px rgba(11,31,51,.07); }
.detail-panel h2 { margin-bottom: 12px; font-size: clamp(1.45rem, 2.7vw, 2.05rem); }
.detail-panel h3 { margin-bottom: 10px; }
.detail-panel > p:last-of-type { color: var(--muted); }
.detail-panel .button { width: 100%; margin-top: 10px; text-align: center; }
.detail-back { display: block; margin-top: 17px; color: var(--navy); font-size: .84rem; font-weight: 800; text-align: center; }
.detail-section-head { margin: clamp(56px, 7vw, 84px) 0 30px; }
.detail-section-head .eyebrow { margin-bottom: 8px; }
.detail-section-head h2 { margin-bottom: 0; }
.itinerary-list { position: relative; display: grid; gap: 16px; }
.itinerary-list::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 24px; width: 2px; background: var(--line); }
.itinerary-day { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 24px; border: 1px solid rgba(11,31,51,.1); border-radius: 18px; background: var(--white); box-shadow: 0 7px 20px rgba(11,31,51,.05); }
.itinerary-number { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 900; }
.itinerary-day .eyebrow { margin: 1px 0 6px; }
.itinerary-day h3 { margin-bottom: 8px; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.itinerary-day p:last-child { margin: 0; color: var(--muted); }
.inclusion-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.inclusion-grid .detail-panel { box-shadow: none; }
.destination-planning { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.destination-planning .detail-panel { box-shadow: none; }
.destination-planning .detail-panel h2 { font-size: 1.55rem; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.highlight-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, var(--white), var(--sand-2)); }
.highlight-card > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--sand); color: #8a4f25; font-size: 1.1rem; }
.highlight-card h3 { margin-bottom: 9px; }
.highlight-card p { margin: 0; color: var(--muted); }
.suggested-tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.suggested-tour-card { overflow: hidden; border: 1px solid rgba(11,31,51,.1); border-radius: 18px; background: var(--white); box-shadow: 0 9px 24px rgba(11,31,51,.07); }
.suggested-tour-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.suggested-tour-card > div { padding: 22px; }
.suggested-tour-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.suggested-tour-card h3 a, .tour-card h2 a, .destination-index-card h3 a { color: var(--navy); text-decoration: none; }
.suggested-tour-card h3 a:hover, .tour-card h2 a:hover, .destination-index-card h3 a:hover { color: #8a4f25; }
.suggested-tour-card > div > p:not(.tour-card-start) { color: var(--muted); }
.destination-index-card { display: flex; flex-direction: column; }
.destination-index-image { display: block; overflow: hidden; }
.destination-index-image img { transition: transform .35s ease; }
.destination-index-card:hover .destination-index-image img { transform: scale(1.03); }
.tour-detail-link { margin: auto 0 13px; font-size: .84rem; }
.tour-card-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
.tour-card-actions .button { margin: 0; }

.cta-band { padding: 68px 0; background: var(--gold); color: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { max-width: 760px; margin: 0; }
.site-footer { background: #071522; color: #cbd7e1; }
.footer-main { display: grid; grid-template-columns: 1.15fr .65fr 1.15fr .8fr; gap: clamp(30px, 4vw, 58px); padding: 72px 0 48px; }
.footer-logo { width: 180px; height: 74px; padding: 6px; object-fit: contain; background: #fff; border-radius: 12px; }
.footer-main h2, .footer-main h3 { color: var(--white); }
.footer-main h2 { font-size: 1.25rem; margin: 18px 0 8px; }
.footer-main h3 { font-size: 1rem; margin-bottom: 16px; }
.footer-main ul { padding: 0; margin: 0; list-style: none; }
.footer-main li { margin-bottom: 9px; }
.footer-main a { color: #dbe5ec; text-decoration: none; }
.footer-main a:hover { color: var(--gold-2); }
.contact-list { display: grid; gap: 14px; }
.icon-link { display: flex; align-items: center; gap: 11px; }
.icon-link > span:last-child { display: grid; line-height: 1.28; }
.icon-link small { margin-bottom: 3px; color: #8fa3b5; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.icon-circle { display: grid !important; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(224,161,93,.38); border-radius: 50%; background: rgba(184,106,50,.08); }
.icon-circle svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-copy { margin-top: -3px; color: #9fb0bf; font-size: .88rem; }
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; margin: 19px 0 24px; }
.social-icons a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.05); }
.social-icons a:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.social-icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-icons a:nth-child(2) svg { fill: currentColor; stroke: none; }
.footer-contact-button { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid rgba(224,161,93,.5); color: var(--gold-2) !important; font-size: .85rem; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom { padding-right: 144px; }
.back-top { color: var(--gold-2) !important; font-weight: 800; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 1200; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 9px 17px 9px 10px; border: 2px solid rgba(255,255,255,.92); border-radius: 999px; background: #25d366; color: var(--white); box-shadow: 0 12px 30px rgba(4,40,21,.3); font-size: .84rem; font-weight: 850; text-decoration: none; }
.whatsapp-float:hover { background: #178c46; color: var(--white); transform: translateY(-2px); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.language-landing { min-height: 62vh; display: grid; align-items: center; }

@media (max-width: 1340px) {
  .nav-links { display: none; }
  .header-tools .nav-cta { display: none; }
  .site-nav { display: flex; justify-content: space-between; width: min(100% - 40px, var(--content)); }
  .mobile-menu { display: block; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .contact-form-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .destination-planning { grid-template-columns: 1fr 1fr; }
  .destination-planning .detail-panel:last-child { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .container, .narrow, .article-shell { width: min(100% - 28px, var(--content)); }
  .language-menu summary > svg, .language-menu summary .language-label, .language-menu summary strong { display: none; }
  .language-menu summary .language-flag { display: inline; }
  .language-menu summary { width: 44px; height: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .header-tools { gap: 7px; }
  .site-nav { min-height: 72px; }
  .brand img { width: 126px; height: 54px; }
  .hero { min-height: 650px; }
  .hero::after { background: linear-gradient(90deg, rgba(5,18,30,.9), rgba(5,18,30,.58)); }
  .hero-content { padding: 74px 0 110px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .trust-strip { margin-top: -42px; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .blog-grid, .social-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .split-media { min-height: 400px; }
  .destination-card { min-height: 300px; }
  .tour-card-grid { grid-template-columns: 1fr; }
  .tour-card-body { min-height: auto; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom { padding-right: 64px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-main > div:first-child { grid-column: auto; }
  .whatsapp-float { right: 12px; bottom: 12px; min-width: 52px; padding-right: 10px; }
  .whatsapp-float span { display: none; }
  .detail-hero { min-height: 520px; padding-top: 92px; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-fact { padding: 13px; }
  .detail-layout, .inclusion-grid, .destination-planning, .highlight-grid, .suggested-tour-grid { grid-template-columns: 1fr; }
  .destination-planning .detail-panel:last-child { grid-column: auto; }
  .detail-sidebar { position: static; }
  .itinerary-day { grid-template-columns: 42px 1fr; gap: 14px; padding: 18px; }
  .itinerary-number { width: 42px; height: 42px; }
  .itinerary-list::before { left: 20px; }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .tour-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) and (min-width: 661px) {
  .tour-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
