/*
Theme Name: Mr. Friend
Theme URI: https://mrfriendtours.com
Author: CV Branding
Author URI: https://caboverdebranding.com
Description: Tema da Mr. Friend Tours — tours e quad bikes na Ilha do Sal, Cabo Verde. Funciona com o plugin Mr. Friend Bookings (reservas, portal e Excel).
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mrfriend
*/

:root {
	--mf-blue: #0B3D91;
	--mf-blue-deep: #062A66;
	--mf-blue-2: #1554C0;
	--mf-red: #E4161C;
	--mf-red-deep: #9C0B0F;
	--mf-sun: #F7C600;
	--mf-ink: #071A3D;
	--mf-salt: #EEF4FF;
	--mf-sand: #F3D7A0;
	--mf-teal: #0B7F93;
	--mf-green: #1E7A45;
	--mf-muted: #4A5878;
	--mf-line: #D9E3F5;
	--display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
	--body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1220px;
	--r: 20px;
	--hdr: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--mf-ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--mf-blue-2); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .4em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mf-sun); outline-offset: 3px; }
.screen-reader-text, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--text { max-width: 760px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 700 16px/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--red { background: var(--mf-red); color: #fff; box-shadow: 0 4px 0 var(--mf-red-deep); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--mf-red-deep); color: #fff; }
.btn--red:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mf-red-deep); }
.btn--line { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--line:hover { background: #fff; color: var(--mf-blue); }
.btn--wa { background: #1DA851; color: #fff; box-shadow: 0 4px 0 #0F7334; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0F7334; color: #fff; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--mf-line); box-shadow: 0 6px 20px rgba(7,26,61,.06); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); transition: height .2s; }
.hdr.is-scrolled .hdr__in { height: 68px; }
.hdr__logo img { display: block; width: 150px; height: auto; transition: width .2s; }
.hdr.is-scrolled .hdr__logo img { width: 120px; }
.hdr__nav { margin-left: auto; }
.hdr__nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hdr__nav .menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--mf-ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.hdr__nav .menu a:hover, .hdr__nav .current-menu-item > a, .hdr__nav .current-menu-parent > a { background: var(--mf-salt); color: var(--mf-blue); }
.hdr__nav .sub-menu { display: none; }
.hdr__nav .hdr__wa--menu { display: none; }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.hdr__wa { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #E8F8EE; }
.hdr__wa svg { width: 24px; height: 24px; fill: #1DA851; }
.hdr__burger { display: none; width: 46px; height: 46px; border: 2px solid var(--mf-ink); background: #fff; border-radius: 12px; cursor: pointer; position: relative; }
.hdr__burger span:not(.screen-reader-text) { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--mf-ink); border-radius: 2px; transition: transform .2s; }
.hdr__burger span:nth-child(1) { top: 16px; } .hdr__burger span:nth-child(2) { top: 25px; }
.hdr__burger[aria-expanded=true] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hdr__burger[aria-expanded=true] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Language switcher */
.langs { position: relative; }
.langs__btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--mf-line); background: #fff; font: 700 14px var(--body); color: var(--mf-ink); cursor: pointer; }
.langs__btn:hover, .langs__btn[aria-expanded=true] { border-color: var(--mf-ink); }
.langs__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langs__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; list-style: none; margin: 0; padding: 6px; background: #fff; border: 2px solid var(--mf-ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--mf-ink); z-index: 60; }
.langs__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--mf-ink); text-decoration: none; font-weight: 600; }
.langs__menu a:hover { background: var(--mf-salt); }
.langs__menu a[aria-current] { background: var(--mf-ink); color: #fff; }
.langs__code { font: 800 12px var(--body); width: 28px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--mf-salt); color: var(--mf-blue); }
.langs__menu a[aria-current] .langs__code { background: var(--mf-red); color: #fff; }
.langs-list { display: none; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #062A66 0%, #0B3D91 48%, #0E57A6 82%, #1377B8 100%); padding-bottom: 70px; }
.hero__sky { position: absolute; inset: 0; z-index: -2; pointer-events: none;
	background:
		radial-gradient(560px 460px at 88% 0%, rgba(255,255,255,.16) 0, rgba(255,255,255,.05) 40%, transparent 70%),
		radial-gradient(900px 600px at 72% 62%, rgba(36,120,214,.55) 0, transparent 70%),
		radial-gradient(700px 420px at -5% 90%, rgba(4,30,80,.7) 0, transparent 70%); }
.hero__sky::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.hero--photo { background: #062A66; }
.hero--photo .hero__sky { z-index: -1; background:
		linear-gradient(90deg, rgba(6,42,102,.96) 0%, rgba(6,42,102,.86) 38%, rgba(6,42,102,.45) 70%, rgba(6,42,102,.25) 100%),
		linear-gradient(0deg, rgba(6,42,102,.55) 0%, transparent 35%),
		var(--hero-img) center / cover no-repeat; }
.hero--photo .hero__sky::after { display: none; }
.hero--photo .salmap__sea { display: none; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0; pointer-events: none; }
.hero__wave { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 1440px 90px; background-position: 0 100%; }
.hero__wave--1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 40 240 12 480 12S720 40 960 40 1200 12 1440 40V90H0z' fill='rgba%28255%2C255%2C255%2C0.10%29'/%3E%3C/svg%3E"); animation: mrf-drift 28s linear infinite; }
.hero__wave--2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 56C180 56 180 32 360 32S540 56 720 56 900 32 1080 32 1260 56 1440 56V90H0z' fill='rgba%28255%2C255%2C255%2C0.18%29'/%3E%3C/svg%3E"); animation: mrf-drift 19s linear infinite reverse; }
.hero__wave--3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 74C240 74 240 58 480 58S720 74 960 74 1200 58 1440 74V90H0z' fill='%23ffffff'/%3E%3C/svg%3E"); }
@keyframes mrf-drift { to { background-position-x: -1440px; } }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; min-height: min(780px, calc(100svh - var(--hdr))); padding-block: 48px 40px; }
.hero__place { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #BFD3FF; margin-bottom: 18px; }
.hero__place::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mf-sun); box-shadow: 0 0 0 4px rgba(247,198,0,.25); }
.hero__title { font-size: clamp(46px, 6.6vw, 96px); line-height: .94; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .w > span { display: inline-block; }
.hero__text { font-size: clamp(17px, 1.5vw, 20px); color: #DCE7FF; max-width: 34em; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: #DCE7FF; }
.hero__facts li { display: flex; gap: 10px; align-items: baseline; }
.hero__facts li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2.5px solid var(--mf-sun); border-bottom: 2.5px solid var(--mf-sun); transform: rotate(-45deg) translateY(-3px); }
.hero__map { align-self: stretch; display: flex; align-items: center; }

/* Home banner: the three islands */
.archi { position: relative; width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; column-gap: 4%; row-gap: 0; align-items: center; }
.archi__isle { position: relative; display: block; color: #fff; text-decoration: none; transition: transform .25s ease; }
.archi__isle--santo-antao { grid-column: 1; grid-row: 1; width: 92%; }
.archi__isle--sao-vicente { grid-column: 1; grid-row: 2; width: 86%; margin-left: 18%; margin-top: -4%; }
.archi__isle--sal { grid-column: 2; grid-row: 1 / 3; width: 74%; justify-self: center; }
a.archi__isle:hover { transform: translateY(-4px); }
a.archi__isle:hover .archi__name b { text-decoration: underline; text-underline-offset: 3px; }
a.archi__isle:focus-visible { outline: 3px solid var(--mf-sun); outline-offset: 6px; border-radius: 12px; }
.archi__name { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(7,26,61,.72); backdrop-filter: blur(4px); font-size: 15px; white-space: nowrap; }
.archi__name b { font-family: var(--display); font-weight: 700; }
.archi__name small { font-size: 13px; color: #BFD3FF; }
.archi__isle--sal .archi__name { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); }
.archi__note { grid-column: 1 / -1; margin: 10px 0 0; font-size: 12px; color: #BFD3FF; text-align: right; }
.salmap--mini svg { overflow: visible; }
.salmap--mini .salmap__land { stroke-width: 5; }
.salmap--mini .salmap__route { stroke-width: 7; stroke-dasharray: 14 11; }
.salmap--mini .salmap__route-bg { stroke-width: 11; }
.salmap--mini .salmap__stop circle { stroke-width: 4; }
.salmap--mini .salmap__rider { transform-box: fill-box; }
.salmap--mini .salmap__rider circle { r: 17; }

/* Sal map */
.salmap { margin: 0; width: 100%; }
.salmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.salmap figcaption { font-size: 12px; color: #BFD3FF; text-align: right; margin-top: 4px; }
.hero__grid { position: relative; z-index: 1; }
.salmap__land { fill: var(--mf-sand); stroke: var(--mf-ink); stroke-width: 3; }
.salmap__salt { fill: #fff; opacity: .85; }
.salmap__route-bg { fill: none; stroke: rgba(7,26,61,.18); stroke-width: 7; stroke-linecap: round; }
.salmap__route { fill: none; stroke: var(--mf-red); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 10 9; }
.salmap__stop circle { fill: #fff; stroke: var(--mf-ink); stroke-width: 3; }
.salmap__stop:first-of-type circle { fill: var(--mf-sun); }
.salmap__stop text { font: 700 15px var(--body); fill: var(--mf-ink); paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.salmap__rider circle { fill: var(--mf-sun); stroke: var(--mf-ink); stroke-width: 2.5; }
.salmap__compass path { fill: #fff; opacity: .8; }
.salmap__compass text { font: 700 13px var(--body); fill: #fff; opacity: .8; }
.salmap--tour { background: var(--mf-blue); border-radius: var(--r); padding: 18px 10px 6px; }
.salmap--tour svg { max-height: 560px; }

/* Map animation (only when JS has started it) */
.js .salmap[data-anim] .salmap__route { stroke-dasharray: none; }
.js .salmap.is-drawn[data-anim] .salmap__route { stroke-dasharray: 10 9; }
.js .salmap[data-anim] .salmap__stop { opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .salmap[data-anim] .salmap__stop.is-on { opacity: 1; animation: mrf-pop .45s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes mrf-pop { from { opacity: 0; transform: scale(.4); } }
.js .salmap[data-anim] .salmap__rider { opacity: 0; }
.js .salmap[data-anim] .salmap__rider.is-on { opacity: 1; transition: opacity .3s; }

/* Sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec__head { display: grid; grid-template-columns: 1fr minmax(0, 32em); gap: 12px 48px; align-items: end; margin-bottom: 40px; }
.sec__title { font-size: clamp(34px, 4.6vw, 60px); margin: 0; text-wrap: balance; }
.sec__title a { color: inherit; text-decoration: none; }
.sec__lead { color: var(--mf-muted); font-size: 18px; margin: 0; }

/* Tickets */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; }
.ticket { position: relative; display: grid; grid-template-columns: 132px 1fr; background: #fff; border: 2.5px solid var(--mf-ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--mf-ink); transition: transform .2s ease, box-shadow .2s ease; min-height: 230px; --stub: var(--mf-blue); --stub-ink: #fff; }
.ticket--quad { --stub: var(--mf-red); }
.ticket--turtle, .ticket--water { --stub: var(--mf-teal); }
.ticket--hike { --stub: var(--mf-green); }
.ticket--culture, .ticket--food { --stub: var(--mf-sun); --stub-ink: var(--mf-ink); }
.ticket--boat { --stub: var(--mf-blue-2); }
.ticket__link { position: absolute; inset: 0; z-index: 3; border-radius: var(--r); }
.ticket__link:focus-visible { outline-offset: 4px; }
.ticket__stub { position: relative; background: var(--stub); color: var(--stub-ink); border-radius: 17px 0 0 17px; border-right: 2.5px dashed var(--mf-ink); display: flex; flex-direction: column; justify-content: space-between; padding: 16px 14px; overflow: hidden; transform-origin: 100% 50%; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 121px; width: 24px; height: 24px; border-radius: 50%; background: var(--notch, #fff); border: 2.5px solid var(--mf-ink); z-index: 2; }
.ticket::before { top: -14px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -14px; clip-path: inset(0 0 50% 0); }
.ticket__ill { width: 78px; height: 78px; opacity: .95; }
.ticket__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket__img + .ticket__time { position: relative; background: rgba(7,26,61,.75); color: #fff; padding: 6px 8px; border-radius: 10px; }
.ticket__time { font: 800 26px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: auto; }
.ticket__time small { display: block; font: 600 12px/1.4 var(--body); letter-spacing: 0; opacity: .85; margin-bottom: 2px; }
.ticket__body { padding: 18px 20px 16px 26px; display: flex; flex-direction: column; min-width: 0; }
.ticket__title { font-size: 24px; margin-bottom: 6px; }
.ticket__text { font-size: 15px; color: var(--mf-muted); margin-bottom: 10px; }
.ticket__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ticket__meta span { font-size: 13px; font-weight: 600; background: var(--mf-salt); color: var(--mf-blue); border-radius: 999px; padding: 3px 10px; }
.ticket__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 2px dashed var(--mf-line); }
.ticket__price strong { font: 800 24px var(--display); letter-spacing: -.02em; }
.ticket__price small { font-size: 13px; color: var(--mf-muted); }
.ticket__price--req strong { font-size: 18px; letter-spacing: -.01em; }
.ticket__more { display: block; font: 600 12px/1.3 var(--body); letter-spacing: 0; opacity: .85; margin-top: 4px; }
.ticket__go { font-weight: 800; color: #fff; background: var(--mf-red); border-radius: 999px; padding: 8px 18px; box-shadow: 0 3px 0 var(--mf-red-deep); transition: transform .15s; }
.ticket:hover { transform: translate(-2px, -3px); box-shadow: 9px 10px 0 var(--mf-ink); }
.ticket:hover .ticket__stub { transform: rotate(-3deg) translateX(-4px); }
.ticket:hover .ticket__go { transform: translateY(-1px); }
.tickets--row { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

/* Quad spotlight */
.quad { position: relative; background: var(--mf-sand); padding-block: clamp(72px, 10vw, 130px); overflow: hidden; isolation: isolate; }
/* Quad section with the dunes photo at the bottom; its sky fades into the section colour. */
.quad--photo { --ih: calc(100vw / 2.357); --qbg: #FBF0DE; padding-bottom: calc(var(--ih) * .72);
	background:
		linear-gradient(180deg, var(--qbg) 0, var(--qbg) calc(100% - var(--ih)), rgba(251,240,222,0) calc(100% - var(--ih) * .5)),
		url("assets/quad-dunes.jpg") center bottom / 100% auto no-repeat,
		var(--qbg); }
.quad__track { position: absolute; left: 0; right: 0; top: 8%; width: 100%; height: 34%; z-index: -1; }
.quad__track path { fill: none; stroke: rgba(7,26,61,.16); stroke-width: 9; stroke-dasharray: 4 8; stroke-linecap: butt; }
.quad__grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 56px; align-items: center; }
.quad__title { font-size: clamp(40px, 5.4vw, 72px); }
.quad__copy p { font-size: 19px; max-width: 30em; }
.quad__rules { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 600; }
.quad__rules li { display: flex; gap: 12px; align-items: center; }
.quad__rules li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--mf-red); transform: rotate(45deg); flex: none; }
.quad__board { background: var(--mf-ink); color: #fff; border-radius: 24px; padding: 14px; box-shadow: 8px 8px 0 var(--mf-red); display: grid; gap: 8px; }
.quad__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "dur price" "times price"; gap: 0 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: background .15s; }
.quad__row:hover { background: rgba(255,255,255,.13); }
.quad__dur { grid-area: dur; font: 800 24px var(--display); }
.quad__times { grid-area: times; color: var(--mf-sun); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.quad__price { grid-area: price; font: 800 36px var(--display); letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
.quad__price small { display: block; font: 500 12px var(--body); color: #AFC0E3; letter-spacing: 0; }
.quad__board .btn { margin-top: 6px; }

/* Islands */
.sec--islands { background: var(--mf-salt); }
.islands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.island { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 26px; border-radius: 24px; text-decoration: none; color: #fff; background: var(--mf-blue); overflow: hidden; isolation: isolate; transition: transform .2s; }
.island::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; background: rgba(255,255,255,.1); z-index: -1; transition: transform .4s ease; }
.island:hover { transform: translateY(-4px); }
.island:hover::after { transform: scale(1.12) rotate(12deg); }
.island--sao-vicente { background: var(--mf-red); }
.island.island--photo { background-image: linear-gradient(180deg, rgba(7,26,61,.15) 0%, rgba(7,26,61,.78) 100%), var(--img); background-size: cover; background-position: center; min-height: 360px; justify-content: flex-end; }
.island--photo::after { display: none; }
.island--photo .island__meta { margin-top: 4px; }
.page-hero.page-hero--photo { background-image: linear-gradient(90deg, rgba(7,26,61,.88) 0%, rgba(7,26,61,.55) 60%, rgba(7,26,61,.3) 100%), var(--img); background-size: cover; background-position: center; padding-block: 90px 100px; }
.island--santo-antao { background: var(--mf-green); }
.island__name { font: 800 clamp(34px, 3.6vw, 48px)/1 var(--display); letter-spacing: -.03em; }
.island__desc { font-size: 16px; opacity: .92; max-width: 22em; }
.island__meta { margin-top: auto; font-weight: 700; display: inline-flex; align-self: flex-start; background: #fff; color: var(--mf-ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; position: relative; padding-top: 74px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; font: 800 26px var(--display); background: var(--mf-sun); color: var(--mf-ink); border: 2.5px solid var(--mf-ink); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 70px; right: -18px; border-top: 2.5px dashed var(--mf-line); }
.steps h3 { font-size: 26px; }
.steps p { color: var(--mf-muted); }

/* Trust + FAQ */
.sec--trust { background: var(--mf-salt); }
.trust { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.trust__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--mf-ink); color: var(--mf-ink); font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.chip-link:hover { transform: translate(-1px, -2px); box-shadow: 3px 4px 0 var(--mf-ink); }
.chip-link::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--mf-blue)); }
.chip-link--tripadvisor { --c: #34E0A1; } .chip-link--viator { --c: #0E8A7A; } .chip-link--civitatis { --c: #F70759; } .chip-link--facebook { --c: #1877F2; }
.faq__title { font-size: 28px; }
.faq__item { border-bottom: 2px solid var(--mf-line); }
.faq__item summary { cursor: pointer; list-style: none; font: 700 19px/1.3 var(--body); padding: 18px 40px 18px 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--mf-red); border-bottom: 3px solid var(--mf-red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { color: var(--mf-muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { background: var(--mf-sun); padding-block: 48px; }
.cta-band__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta-band__mascot { width: 200px; height: auto; transform: rotate(-4deg); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 18px; }

/* Footer */
.ftr { background: var(--mf-ink); color: #C9D5EE; padding-top: 64px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.ftr__brand img { width: 170px; margin-bottom: 14px; }
.ftr__brand p { max-width: 26em; }
.ftr__h { font: 700 15px var(--body); letter-spacing: 0; color: var(--mf-sun); margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid #1E2F55; padding-block: 20px 28px; font-size: 14px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1DA851; box-shadow: 0 8px 22px rgba(7,26,61,.25); transition: transform .2s; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.07); }

/* Page hero */
.page-hero { background: var(--mf-blue); color: #fff; padding-block: 56px 64px; }
.page-hero--sao-vicente { background: var(--mf-red); }
.page-hero--santo-antao { background: var(--mf-green); }
.page-hero__title { font-size: clamp(44px, 6vw, 84px); margin: 6px 0 12px; }
.page-hero__lead { font-size: 20px; max-width: 36em; color: rgba(255,255,255,.9); }
.page-hero__lead p { margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 600; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.island-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.island-tabs a { color: #fff; text-decoration: none; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.45); }
.island-tabs a small { opacity: .75; margin-left: 4px; }
.island-tabs a[aria-current] { background: #fff; color: var(--mf-ink); border-color: #fff; }
.island-map { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 32px; align-items: center; margin-bottom: 56px; }
.island-map p { font-size: 19px; color: var(--mf-muted); max-width: 24em; }
.island-map--wide { grid-template-columns: minmax(0, 780px) 1fr; }
.island-map--wide .salmap--tour { padding: 18px 14px 8px; }
.empty-note { text-align: center; padding: 40px; background: var(--mf-salt); border-radius: var(--r); }

/* Tour page */
.tour__hero { background: var(--mf-blue); color: #fff; padding-block: 36px 56px; }
.tour__hero--quad { background: var(--mf-red); }
.tour__hero--turtle, .tour__hero--water { background: var(--mf-teal); }
.tour__hero--hike { background: var(--mf-green); }
.tour__hero--culture, .tour__hero--food { background: var(--mf-sun); color: var(--mf-ink); }
.tour__hero--culture .crumbs a, .tour__hero--food .crumbs a { color: var(--mf-ink); }
.tour__hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; margin-top: 18px; }
.tour__title { font-size: clamp(40px, 5.4vw, 76px); }
.tour__lead { font-size: 20px; max-width: 32em; opacity: .95; }
.tour__chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour__chips li { background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 15px; }
.tour__hero--culture .tour__chips li, .tour__hero--food .tour__chips li { border-color: var(--mf-ink); background: rgba(255,255,255,.4); }
.tour__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); border: 3px solid var(--mf-ink); box-shadow: 8px 8px 0 var(--mf-ink); }
.tour__ill { aspect-ratio: 1; max-width: 300px; margin-left: auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); border: 3px dashed rgba(255,255,255,.45); }
.tour__ill-svg { width: 58%; height: auto; }
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: start; padding-block: 56px 80px; }
.tour__sec { margin-bottom: 44px; }
.tour__sec h2 { font-size: 30px; }
.tour__side { position: relative; }
.tour__sticky { position: sticky; top: calc(var(--hdr) + 8px); }
.tour__book-title { font-size: 26px; margin-bottom: 14px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th { text-align: left; font-size: 13px; color: var(--mf-muted); font-weight: 700; padding: 8px 10px; border-bottom: 2px solid var(--mf-ink); }
.ptable th.num { text-align: right; }
.ptable td { padding: 14px 10px; border-bottom: 1px solid var(--mf-line); vertical-align: top; }
.ptable td small { display: block; color: var(--mf-muted); font-size: 13px; }
.ptable td strong { font: 800 20px var(--display); }
.route { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; counter-reset: r; }
.route li { counter-increment: r; position: relative; padding: 0 0 18px 46px; font-weight: 600; font-size: 18px; }
.route li::before { content: counter(r); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--display); background: #fff; border: 2.5px solid var(--mf-ink); }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; border-left: 2.5px dashed var(--mf-red); }
.tour__map { max-width: 460px; }
.tour__inc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.list-yes, .list-no { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-yes li, .list-no li { display: flex; gap: 10px; align-items: baseline; }
.list-yes li::before { content: ""; flex: none; width: 13px; height: 7px; border-left: 2.5px solid var(--mf-green); border-bottom: 2.5px solid var(--mf-green); transform: rotate(-45deg) translateY(-3px); }
.list-no li::before { content: "×"; color: var(--mf-red); font-weight: 800; }
.tour__know dl { margin: 0; display: grid; gap: 0; }
.tour__know dl div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mf-line); }
.tour__know dt { font-weight: 700; }
.tour__know dd { margin: 0; color: var(--mf-muted); }
.prose { font-size: 18px; }
.prose p { max-width: 40em; }
.sec--related { background: var(--mf-salt); }
.bookbar { display: none; }

/* Contact + misc */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact__card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 2.5px solid var(--mf-ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--mf-ink); text-decoration: none; color: var(--mf-ink); background: #fff; transition: transform .15s, box-shadow .15s; }
a.contact__card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--mf-ink); }
.contact__card--wa { background: #E8F8EE; }
.contact__k { font-weight: 700; color: var(--mf-muted); }
.contact__card strong { font: 800 24px var(--display); word-break: break-word; }
.page-img { border-radius: var(--r); margin-bottom: 24px; }
.post-row { padding: 18px 0; border-bottom: 1px solid var(--mf-line); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cform-card { background: #fff; border: 2.5px solid var(--mf-ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--mf-ink); padding: clamp(22px, 3vw, 36px); }
.cform__title { font-size: 34px; }
.cform__lead { color: var(--mf-muted); }
.cform__topics { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.cform__topics legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.cform__topic input { position: absolute; opacity: 0; }
.cform__topic span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 2px solid var(--mf-line); font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.cform__topic span:hover { border-color: var(--mf-blue-2); }
.cform__topic input:checked + span { background: var(--mf-ink); border-color: var(--mf-ink); color: #fff; }
.cform__topic input[value=complaint]:checked + span { background: var(--mf-red); border-color: var(--mf-red); }
.cform__topic input:focus-visible + span { outline: 3px solid var(--mf-sun); outline-offset: 2px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cform__f { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
.cform__f em { font-style: normal; font-weight: 400; color: var(--mf-muted); }
.cform__f--wide { grid-column: 1 / -1; }
.cform__f input, .cform__f textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--mf-ink); border: 2px solid var(--mf-line); border-radius: 12px; padding: 12px 14px; background: #fff; width: 100%; }
.cform__f input:focus, .cform__f textarea:focus { outline: none; border-color: var(--mf-blue-2); }
.cform__hp { position: absolute !important; left: -9999px; }
.cform__err { background: #FFF1F1; color: #A20F14; border-radius: 12px; padding: 10px 14px; margin: 14px 0 0; }
.cform__send { margin-top: 18px; }
.cform__fine { font-size: 13px; color: var(--mf-muted); margin: 10px 0 0; }
.cform__done { text-align: center; padding: 30px 10px; outline: none; }
.cform__done h3 { font-size: 30px; }
.contact-side { display: grid; gap: 16px; }
.contact-side .contact__card { padding: 20px 22px; }
.contact__email { font-size: 19px !important; }
.cmap { margin: 0; border: 2.5px solid var(--mf-ink); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--mf-blue); background: #fff; }
.cmap iframe { display: block; width: 100%; height: 300px; border: 0; background: var(--mf-salt); }
.cmap figcaption { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 2.5px solid var(--mf-ink); }
.cmap small { color: var(--mf-muted); }
.btn--line-ink { border-color: var(--mf-ink); color: var(--mf-ink); padding: 9px 16px; font-size: 14px; }
.btn--line-ink:hover { background: var(--mf-ink); color: #fff; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform__grid { grid-template-columns: 1fr; } }

/* About page */
.sec--tight { padding-block: 56px 8px; }
.about-intro { font-size: 20px; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder__photo { margin: 0; position: relative; transform: rotate(-2.5deg); }
.founder__photo img, .founder__empty { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--mf-ink); border-radius: var(--r); box-shadow: 10px 10px 0 var(--mf-red); background: #fff; }
.founder__photo::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(3deg); background: rgba(247,198,0,.85); z-index: 1; }
.founder__empty { display: grid; place-items: center; text-align: center; padding: 30px; border-style: dashed; color: var(--mf-muted); font-weight: 600; text-decoration: none; background: var(--mf-salt); }
.founder__title { font-size: clamp(34px, 4.2vw, 56px); }
.founder__text { font-size: 19px; max-width: 34em; }
.founder__text p:first-child::first-letter { font: 800 3.4em/0.8 var(--display); float: left; margin: 6px 10px 0 0; color: var(--mf-red); }
.founder__hint { background: #FFF8D9; border-radius: 12px; padding: 14px 16px; color: #5A4500; max-width: 34em; }
.founder__sign { display: flex; flex-direction: column; margin-top: 22px; padding-left: 18px; border-left: 4px solid var(--mf-sun); }
.founder__sign strong { font: 800 28px var(--display); }
.founder__sign span { color: var(--mf-muted); }
.sec--gallery { background: var(--mf-salt); }
.gallery-grid { columns: 3 260px; column-gap: 16px; margin-top: 32px; }
.gallery-grid__item { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; border: 2.5px solid var(--mf-ink); box-shadow: 5px 5px 0 var(--mf-ink); transition: transform .2s, box-shadow .2s; }
.gallery-grid__item:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--mf-ink); }
.gallery-grid__item img { display: block; width: 100%; height: auto; }
.gallery-grid--empty { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid__ph { aspect-ratio: 3 / 2; border: 2px dashed #B8C6E2; border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--mf-muted); font-weight: 600; text-decoration: none; background: #fff; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(7,26,61,.92); display: grid; place-items: center; padding: 60px 70px; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lb button { position: absolute; border: 0; background: #fff; color: var(--mf-ink); width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 960px) {
	.founder__grid { grid-template-columns: 1fr; }
	.founder__photo { max-width: 360px; }
	.gallery-grid--empty { grid-template-columns: 1fr 1fr; }
	.lb { padding: 60px 10px; }
}

/* Motion helpers (one-off reveals) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.tour__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	:root { --hdr: 72px; }
	.hdr__burger { display: block; }
	.hdr__act .langs { display: none; }
	.langs-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--mf-line); }
	.langs-list a { display: block; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--mf-line); text-decoration: none; color: var(--mf-ink); font-weight: 700; font-size: 15px; }
	.langs-list a[aria-current] { background: var(--mf-ink); border-color: var(--mf-ink); color: #fff; }
	.hdr__book { display: none; }
	.hdr__nav { position: fixed; inset: var(--hdr) 0 auto 0; background: #fff; padding: 16px 20px 24px; border-bottom: 2px solid var(--mf-ink); transform: translateY(calc(-100% - var(--hdr) - 20px)); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; z-index: -1; max-height: calc(100svh - var(--hdr)); overflow: auto; }
	.hdr__nav.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
	.hdr__nav .menu { flex-direction: column; }
	.hdr__nav .menu a { font: 800 28px var(--display); padding: 10px 0; border-radius: 0; background: none !important; }
	.hdr__nav .hdr__wa--menu { display: inline-flex; width: auto; height: auto; border-radius: 0; background: none; margin-top: 12px; font-weight: 700; color: #1DA851; text-decoration: none; }
	.hdr__logo img, .hdr.is-scrolled .hdr__logo img { width: 112px; }
	.hdr__in { gap: 12px; }
	.hdr__act { margin-left: auto; }
	.hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 24px; }
	.hero__map { max-width: 520px; margin: 0 auto; width: 100%; }
	.archi__name { font-size: 13px; padding: 5px 10px; }
	.archi__name small { display: none; }
	.sec__head { grid-template-columns: 1fr; }
	.quad__grid, .trust, .island-map { grid-template-columns: 1fr; gap: 36px; }
	.quad--photo { --ih: 340px; padding-bottom: 250px; background-size: auto, auto var(--ih), auto; background-position: 0 0, 80% 100%, 0 0; }
	.islands { grid-template-columns: 1fr; }
	.island { min-height: 200px; }
	.steps { grid-template-columns: 1fr; gap: 24px; }
	.steps li:not(:last-child)::after { display: none; }
	.tour__hero-grid { grid-template-columns: 1fr; }
	.tour__ill { display: none; }
	.tour__grid { grid-template-columns: 1fr; padding-top: 32px; }
	.tour__side { order: -1; }
	.tour__sticky { position: static; }
	.contact { grid-template-columns: 1fr; }
	.cta-band__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--mf-ink); transform: translateY(110%); transition: transform .25s; }
	.bookbar.is-on { transform: none; }
	.bookbar strong { font: 800 22px var(--display); }
	.bookbar small { color: var(--mf-muted); }
	.single-mft_tour .wa-float { bottom: 90px; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.tickets, .tickets--row { grid-template-columns: 1fr; }
	.ticket { grid-template-columns: 104px 1fr; }
	.ticket::before, .ticket::after { left: 93px; }
	.ticket__ill { width: 60px; height: 60px; }
	.ticket__time { font-size: 21px; }
	.ticket__body { padding: 16px 14px 14px 20px; }
	.ticket__title { font-size: 21px; }
	.tour__inc { grid-template-columns: 1fr; }
	.tour__know dl div { grid-template-columns: 1fr; gap: 2px; }
	.quad__price { font-size: 30px; }
	.ftr__grid { grid-template-columns: 1fr; }
	.salmap__stop text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hero__wave--1, .hero__wave--2 { animation: none !important; }
}
.js .salmap--mini.is-drawn[data-anim] .salmap__route { stroke-dasharray: 14 11; }
.salmap__stop--minor circle { r: 5; stroke-width: 2.5; }
.salmap__stop--minor text { font-size: 13px; font-weight: 600; }
