/*
 * Pierdad Theme — main stylesheet.
 * Ported verbatim from the approved static design (_source-assets/index.html)
 * with no visual changes. New sections at the bottom cover WP-standard views
 * (blog loop, single post, archive, search, sidebar, 404) that don't exist
 * in the original one-page design.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--gold: #c9a96e;
	--gold-light: #e8d5b0;
	--gold-dark: #9a7a45;
	--navy: #05037a;
	--navy-deep: #020155;
	--navy-mid: #23019e;
	--cream: #f9f6ef;
	--cream-dark: #f0ebe0;
	--charcoal: #1a1a2e;
	--text: #2c2c3e;
	--text-light: #6b6b80;
	--white: #ffffff;
	--font-display: 'Playfair Display', serif;
	--font-body: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; }

/* Global typography: Playfair Display for every heading, Lato for body text,
   labels, buttons and nav — set once here so it cascades to every page and
   the MotoPress booking flow without per-template overrides. */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
button, input, select, textarea { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── LOGO ── */
.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.header-logo, .custom-logo {
	height: 150px; width: auto;
	transition: all 0.4s;
	filter: brightness(1);
	mix-blend-mode: screen;
}
#main-header.scrolled .header-logo, #main-header.scrolled .custom-logo { height: 90px; }
.footer-logo-link { display: block; margin-bottom: 20px; }
.footer-logo {
	height: 120px; width: auto;
	mix-blend-mode: screen;
	opacity: 0.95;
}

/* ── HEADER ── */
#main-header {
	position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
	transition: all 0.4s ease;
}
#main-header.scrolled {
	background: rgba(2,1,85,0.97);
	backdrop-filter: blur(12px);
	box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 60px;
	transition: padding 0.4s;
}
#main-header.scrolled .header-inner { padding: 14px 60px; }

.logo {
	font-family: var(--font-display); color: var(--white);
	font-size: 1.8rem; font-weight: 300; letter-spacing: 0.12em;
	text-decoration: none; line-height: 1;
}
.logo span { color: var(--gold); font-style: italic; }

nav ul { list-style: none; display: flex; gap: 36px; }
nav ul li a {
	font-family: var(--font-body); color: rgba(255,255,255,0.82);
	text-decoration: none; font-size: 0.78rem; letter-spacing: 0.18em;
	text-transform: uppercase; font-weight: 400;
	position: relative; transition: color 0.3s;
}
nav ul li a::after {
	content: ''; position: absolute; bottom: -4px; left: 0;
	width: 0; height: 1px; background: var(--gold);
	transition: width 0.3s;
}
nav ul li a:hover { color: var(--gold); }
nav ul li a:hover::after { width: 100%; }

.header-cta {
	background: transparent; border: 1px solid var(--gold);
	color: var(--gold); padding: 10px 26px;
	font-family: var(--font-body); font-size: 0.72rem;
	letter-spacing: 0.2em; text-transform: uppercase;
	cursor: pointer; text-decoration: none;
	transition: all 0.3s;
}
.header-cta:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
	height: 100vh; position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: var(--navy-deep);
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1.4s ease;
	transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(
		160deg,
		rgba(2,1,85,0.68) 0%,
		rgba(5,3,90,0.42) 40%,
		rgba(0,0,0,0.55) 100%
	);
}

.hero-lines { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-lines::after {
	content: ''; position: absolute; bottom: 0; left: 50%;
	width: 1px; height: 100px; background: linear-gradient(to top, transparent, var(--gold));
	animation: lineDown 2s ease forwards 1s; transform: scaleY(0); transform-origin: bottom;
}
@keyframes lineDown { to { transform: scaleY(1); } }

.hero-indicators {
	position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
	width: 28px; height: 2px; background: rgba(255,255,255,0.3);
	cursor: pointer; transition: all 0.4s; position: relative; overflow: hidden;
	border: none; padding: 0; appearance: none;
}
.hero-dot.active { background: rgba(255,255,255,0.2); }
.hero-dot.active::after {
	content: ''; position: absolute; top: 0; left: 0;
	height: 100%; background: var(--gold);
	animation: dotProgress 5s linear forwards;
}
@keyframes dotProgress { from{width:0} to{width:100%} }

.hero-counter {
	position: absolute; top: 50%; right: 50px; transform: translateY(-50%);
	z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-counter-current {
	font-family: var(--font-display); font-size: 3rem; font-weight: 300;
	color: var(--white); line-height: 1; opacity: 0.9;
}
.hero-counter-line { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.hero-counter-total {
	font-family: var(--font-display); font-size: 1.2rem; font-weight: 300;
	color: rgba(255,255,255,0.4);
}

.hero-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 10; width: 48px; height: 48px;
	border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.05);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; transition: all 0.3s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { border-color: var(--gold); background: rgba(201,169,110,0.15); }
.hero-arrow svg { stroke: var(--white); width: 20px; height: 20px; }
.hero-arrow-prev { left: 40px; }
.hero-arrow-next { right: 40px; }

@media (max-width: 768px) {
	.hero-counter { display: none; }
	.hero-arrow { width: 38px; height: 38px; }
	.hero-arrow-prev { left: 16px; }
	.hero-arrow-next { right: 16px; }
}

.hero-content {
	position: relative; z-index: 2; text-align: center;
	max-width: 800px; padding: 0 24px;
}
.hero-eyebrow {
	font-family: var(--font-body); color: var(--gold);
	font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase;
	margin-bottom: 28px; opacity: 0;
	animation: fadeUp 1s ease forwards 0.4s;
}
.hero-title {
	font-family: var(--font-display); color: var(--white);
	font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 300;
	line-height: 1.05; letter-spacing: 0.02em;
	margin-bottom: 28px; opacity: 0;
	animation: fadeUp 1s ease forwards 0.7s;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
	font-family: var(--font-body); color: rgba(255,255,255,0.65);
	font-size: 0.88rem; letter-spacing: 0.1em; line-height: 1.8;
	margin-bottom: 50px; opacity: 0;
	animation: fadeUp 1s ease forwards 1s;
}
.hero-actions {
	display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
	opacity: 0; animation: fadeUp 1s ease forwards 1.2s;
}
.btn-primary {
	background: var(--gold); color: var(--navy-deep);
	border: none; padding: 16px 42px;
	font-family: var(--font-body); font-size: 0.75rem;
	letter-spacing: 0.25em; text-transform: uppercase;
	cursor: pointer; text-decoration: none;
	transition: all 0.3s; font-weight: 500;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.4); }
.btn-outline {
	background: transparent; color: var(--white);
	border: 1px solid rgba(255,255,255,0.4); padding: 16px 42px;
	font-family: var(--font-body); font-size: 0.75rem;
	letter-spacing: 0.25em; text-transform: uppercase;
	cursor: pointer; text-decoration: none;
	transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ══════════════════════════════════════
   BOOKING BAR
══════════════════════════════════════ */
.booking-bar {
	background: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,0.12);
	padding: 0; position: relative; z-index: 10; margin-top: -1px;
}
.booking-bar-inner {
	display: flex; align-items: stretch;
	max-width: 1200px; margin: 0 auto;
}
.booking-field {
	flex: 1; padding: 28px 30px; border-right: 1px solid #e8e4dc;
	display: flex; flex-direction: column; gap: 6px;
}
.booking-field:last-of-type { border-right: none; }
.booking-field label {
	font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
	color: var(--gold-dark); font-weight: 600;
}
.booking-field input, .booking-field select {
	border: none; outline: none; font-family: var(--font-display);
	font-size: 1.05rem; color: var(--text); background: transparent;
	cursor: pointer; width: 100%;
}
.booking-field select { appearance: none; }
.booking-btn {
	background: var(--navy-mid); color: var(--white);
	border: none; padding: 0 50px; cursor: pointer;
	font-family: var(--font-body); font-size: 0.72rem;
	letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
	transition: background 0.3s; white-space: nowrap;
}
.booking-btn:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════ */
section { padding: 110px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-eyebrow {
	font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 14px; font-weight: 500;
}
.section-title {
	font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem);
	font-weight: 300; line-height: 1.1; color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--navy-mid); }
.section-divider {
	width: 50px; height: 1px; background: var(--gold);
	margin: 22px 0 30px;
}
.section-lead {
	font-size: 0.92rem; line-height: 1.85; color: var(--text-light);
	max-width: 520px;
}

/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
.why-us { background: var(--cream); }
.why-grid {
	display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
	align-items: start;
}
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.why-card {
	background: var(--white); padding: 36px 30px;
	border-bottom: 2px solid transparent;
	transition: all 0.4s; position: relative; overflow: hidden;
}
.why-card::before {
	content: ''; position: absolute; bottom: 0; left: 0;
	width: 0; height: 2px; background: var(--gold);
	transition: width 0.4s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.why-card:hover::before { width: 100%; }
.why-card-icon {
	width: 48px; height: 48px; margin-bottom: 20px;
	display: flex; align-items: center; justify-content: center;
}
.why-card-icon svg { width: 32px; height: 32px; stroke: var(--gold); }
.why-card h3 {
	font-family: var(--font-display); font-size: 1.3rem;
	font-weight: 400; margin-bottom: 12px; color: var(--charcoal);
}
.why-card p { font-size: 0.84rem; line-height: 1.75; color: var(--text-light); }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar { background: var(--navy-deep); padding: 70px 0; }
.stats-inner {
	display: grid; grid-template-columns: repeat(3, 1fr);
	max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.stat-item {
	text-align: center; padding: 0 40px;
	border-right: 1px solid rgba(201,169,110,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
	font-family: var(--font-display); font-size: 4rem;
	font-weight: 300; color: var(--gold); letter-spacing: -0.02em; line-height: 1;
}
.stat-label {
	font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: rgba(255,255,255,0.5); margin-top: 10px;
}

/* ══════════════════════════════════════
   ROOMS
══════════════════════════════════════ */
.rooms-section { background: var(--cream-dark); }
.rooms-header { text-align: center; margin-bottom: 70px; }
.rooms-header .section-divider { margin: 22px auto 30px; }
.rooms-header .section-lead { margin: 0 auto; text-align: center; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room-card {
	background: var(--white); overflow: hidden;
	transition: transform 0.4s, box-shadow 0.4s; position: relative;
}
.room-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0,0,0,0.12); }
.room-card:first-child { grid-column: span 2; }
.room-img { position: relative; overflow: hidden; height: 260px; }
.room-card:first-child .room-img { height: 340px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-img img { transform: scale(1.06); }
.room-badge {
	position: absolute; top: 20px; left: 20px;
	background: var(--gold); color: var(--navy-deep);
	padding: 6px 14px; font-size: 0.65rem;
	letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
}
.room-info { padding: 28px 30px; }
.room-info h3 {
	font-family: var(--font-display); font-size: 1.4rem;
	font-weight: 400; margin-bottom: 8px; color: var(--charcoal);
}
.room-info p { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }
.room-amenities { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.amenity {
	font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--text-light); background: var(--cream);
	padding: 5px 12px; border: 1px solid #ddd;
}
.room-footer {
	display: flex; align-items: center; justify-content: space-between;
	border-top: 1px solid var(--cream-dark); padding-top: 18px;
}
.room-price {
	font-family: var(--font-display); font-size: 1.6rem;
	color: var(--navy-mid); font-weight: 300;
}
.room-price span { font-size: 0.75rem; color: var(--text-light); font-family: var(--font-body); }
.room-price-tbd { font-size: 0.8rem; font-family: var(--font-body); color: var(--text-light); font-style: italic; }
.btn-book {
	background: var(--navy-mid); color: var(--white);
	border: none; padding: 11px 24px; cursor: pointer;
	font-family: var(--font-body); font-size: 0.7rem;
	letter-spacing: 0.15em; text-transform: uppercase;
	text-decoration: none; transition: background 0.3s;
}
.btn-book:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-section { background: var(--navy-mid); padding: 28px 0; overflow: hidden; }
.marquee-track {
	display: flex; gap: 60px; animation: marquee 25s linear infinite;
	white-space: nowrap;
}
.marquee-item {
	font-family: var(--font-display); font-size: 1.3rem;
	color: rgba(255,255,255,0.4); letter-spacing: 0.08em;
	flex-shrink: 0; display: flex; align-items: center; gap: 20px;
}
.marquee-item span { color: var(--gold); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════════════
   BOOKING FORM
══════════════════════════════════════ */
.booking-section { background: var(--cream); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.booking-image { position: relative; }
.booking-image img { width: 100%; height: 520px; object-fit: cover; }
.booking-image-tag {
	position: absolute; bottom: -20px; right: -20px;
	background: var(--navy-mid); color: var(--white);
	padding: 30px 35px; max-width: 200px;
}
.booking-image-tag-title {
	font-family: var(--font-display); font-size: 1.4rem;
	font-weight: 300; margin-bottom: 6px;
}
.booking-image-tag p { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.form-group { margin-bottom: 22px; }
.form-group label {
	display: block; font-size: 0.68rem; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; font-weight: 500;
}
.form-group input, .form-group select {
	width: 100%; border: 1px solid #ddd; background: var(--white);
	padding: 14px 18px; font-family: var(--font-body); font-size: 0.9rem;
	color: var(--text); outline: none; transition: border-color 0.3s; appearance: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
	width: 100%; background: var(--navy-mid); color: var(--white);
	border: none; padding: 18px; cursor: pointer;
	font-family: var(--font-body); font-size: 0.75rem;
	letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
	margin-top: 8px; transition: background 0.3s;
}
.form-submit:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-section { background: var(--navy-deep); padding: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-item { position: relative; overflow: hidden; height: 380px; cursor: pointer; }
.service-item img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.6s; filter: brightness(0.55);
}
.service-item:hover img { transform: scale(1.08); filter: brightness(0.35); }
.service-item-content {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 36px 30px;
	background: linear-gradient(to top, rgba(2,1,85,0.85) 0%, transparent 60%);
}
.service-item-content h3 {
	font-family: var(--font-display); color: var(--white);
	font-size: 1.5rem; font-weight: 300; margin-bottom: 6px; transition: color 0.3s;
}
.service-item:hover .service-item-content h3 { color: var(--gold); }
.service-item-content p {
	font-size: 0.78rem; color: rgba(255,255,255,0); line-height: 1.6; transition: color 0.4s;
}
.service-item:hover .service-item-content p { color: rgba(255,255,255,0.7); }
.service-arrow {
	width: 36px; height: 36px; border: 1px solid var(--gold);
	display: flex; align-items: center; justify-content: center;
	margin-top: 16px; opacity: 0; transform: translateX(-10px); transition: all 0.3s;
}
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-arrow svg { stroke: var(--gold); width: 16px; height: 16px; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section { background: var(--cream-dark); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.testi-card { background: var(--white); padding: 40px 36px; position: relative; }
.testi-card::before {
	content: '\201C'; font-family: var(--font-display);
	font-size: 6rem; color: var(--gold); opacity: 0.15;
	position: absolute; top: 10px; left: 26px; line-height: 1;
}
.testi-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testi-stars span { color: var(--gold); font-size: 0.75rem; }
.testi-card p {
	font-family: var(--font-display); font-size: 1rem;
	line-height: 1.7; color: var(--text); font-style: italic;
	margin-bottom: 26px; position: relative; z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
	width: 44px; height: 44px; border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--navy-mid));
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); color: var(--white); font-size: 1.1rem;
}
.testi-info h3 { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin: 0; }
.testi-info span { font-size: 0.72rem; color: var(--gold-dark); }

/* ══════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════ */
.newsletter-section { background: var(--navy-deep); padding: 80px 0; }
.newsletter-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 60px;
	max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.newsletter-text h2 {
	font-family: var(--font-display); font-size: 2.4rem;
	font-weight: 300; color: var(--white);
}
.newsletter-text h2 em { font-style: italic; color: var(--gold); }
.newsletter-text p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 10px; }
.newsletter-form { display: flex; gap: 0; flex: 0 0 440px; }
.newsletter-form input {
	flex: 1; border: 1px solid rgba(201,169,110,0.3); border-right: none;
	background: rgba(255,255,255,0.05); color: var(--white);
	padding: 16px 22px; font-family: var(--font-body); font-size: 0.85rem;
	outline: none; transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
	background: var(--gold); color: var(--navy-deep);
	border: none; padding: 16px 28px; cursor: pointer;
	font-family: var(--font-body); font-size: 0.72rem;
	letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
	transition: background 0.3s; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ══════════════════════════════════════
   GHANA SKYLINE FOOTER DIVIDER
══════════════════════════════════════ */
.skyline-divider {
	background: #010040;
	line-height: 0;
	overflow: hidden;
	display: block;
}
.skyline-divider svg {
	display: block;
	width: 100%;
}
/* The skyline's bottom edge already meets the footer colour, so the
   footer needs less top padding when it follows directly. */
.skyline-divider + footer { padding-top: 48px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: #010040; color: var(--white); padding: 80px 0 0; }
.footer-grid {
	display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
	gap: 60px; padding-bottom: 60px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px;
}
.footer-brand .logo { display: block; margin-bottom: 20px; }
.footer-brand p {
	font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 28px;
}
.social-links { display: flex; gap: 14px; }
.social-link {
	width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15);
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.5); text-decoration: none;
	font-size: 0.8rem; transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 15px; height: 15px; }
.footer-col h4 {
	font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 24px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
	font-size: 0.84rem; color: rgba(255,255,255,0.45);
	text-decoration: none; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-contact p strong { color: var(--gold-light); font-weight: 400; }
.footer-contact p a { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-contact p a:hover { color: var(--gold); }
.footer-bottom {
	padding: 24px 40px; display: flex; align-items: center; justify-content: space-between;
	max-width: 1200px; margin: 0 auto;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 24px; list-style: none; }
.footer-bottom-links li { margin: 0; }
.footer-bottom-links a {
	font-size: 0.72rem; color: rgba(255,255,255,0.25);
	text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   WHATSAPP BUTTON
══════════════════════════════════════ */
.whatsapp-fab {
	position: fixed; bottom: 32px; right: 32px; z-index: 9998;
	width: 54px; height: 54px; border-radius: 50%;
	background: #25d366;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; box-shadow: 0 8px 24px rgba(37,211,102,0.5);
	transition: all 0.3s; text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,0.7); }
.whatsapp-fab svg { width: 26px; height: 26px; color: var(--white); }

@media (max-width: 768px) {
	.whatsapp-fab { width: 46px; height: 46px; bottom: 24px; right: 24px; }
}

/* ══════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════ */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); margin: 5px 0; transition: all 0.3s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
	.why-grid { grid-template-columns: 1fr; gap: 50px; }
	.rooms-grid { grid-template-columns: 1fr 1fr; }
	.room-card:first-child { grid-column: span 2; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.testi-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	/* Copyright and legal links stack below desktop; the extra bottom
	   padding keeps the last line clear of the WhatsApp button. */
	.footer-bottom { flex-direction: column; gap: 14px; text-align: center; padding-bottom: 96px; }
	.footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
}
@media (max-width: 768px) {
	nav, .header-cta { display: none; }
	.mobile-toggle { display: block; }
	.header-inner { padding: 18px 24px; }
	.booking-bar-inner { flex-direction: column; }
	.booking-field { border-right: none; border-bottom: 1px solid #e8e4dc; padding: 20px 24px; }
	.booking-btn { padding: 20px; width: 100%; }
	.rooms-grid { grid-template-columns: 1fr; }
	.room-card:first-child { grid-column: span 1; }
	.booking-grid { grid-template-columns: 1fr; }
	.booking-image { display: none; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.testi-grid { grid-template-columns: 1fr; }
	.newsletter-inner { flex-direction: column; gap: 30px; }
	.newsletter-form { flex: auto; width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 40px; }
	/* Taller, side-cropped skyline so the buildings stay legible on phones. */
	.skyline-divider svg { height: 96px; }
	.skyline-divider + footer { padding-top: 32px; }
	.stats-inner { grid-template-columns: 1fr; gap: 30px; }
	.stat-item { border-right: none; border-bottom: 1px solid rgba(201,169,110,0.2); padding-bottom: 30px; }

	/* Mobile nav open state — the source markup/CSS had a hamburger button
	   with no working JS behind it; wired up in main.js for Phase 1. */
	nav.mobile-nav-open {
		display: block;
		position: fixed; top: 0; right: 0; height: 100vh; width: 78vw; max-width: 320px;
		background: var(--navy-deep); padding: 100px 40px 40px; z-index: 999;
		box-shadow: -20px 0 60px rgba(0,0,0,0.3);
	}
	nav.mobile-nav-open ul { flex-direction: column; gap: 26px; }
	.mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
	.mobile-toggle.open span:nth-child(2) { opacity: 0; }
	.mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ══════════════════════════════════════
   WP SCAFFOLDING — blog loop, single, archive,
   search, sidebar, 404. Not part of the original
   one-page design; styled to match its tokens.
══════════════════════════════════════ */
.site-main { padding: 160px 0 110px; min-height: 50vh; }
.site-main--home { padding: 0; min-height: 0; }

.archive-header { margin-bottom: 60px; }
.archive-header .section-lead { max-width: none; }

.entry-card { background: var(--white); margin-bottom: 40px; overflow: hidden; }
.entry-card-thumb { display: block; }
.entry-card-thumb img { width: 100%; height: 320px; object-fit: cover; }
.entry-card-body { padding: 30px; }
.entry-card-title {
	font-family: var(--font-display); font-size: 1.8rem; font-weight: 300;
	color: var(--charcoal); margin-bottom: 10px;
}
.entry-card-title a { color: inherit; text-decoration: none; }
.entry-card-title a:hover { color: var(--navy-mid); }
.entry-card-meta {
	font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--gold-dark); margin-bottom: 14px;
}
.entry-card-excerpt { font-size: 0.9rem; line-height: 1.8; color: var(--text-light); }

.entry-none { padding: 40px 0; font-size: 0.95rem; color: var(--text-light); }

.entry-page-title {
	font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem);
	font-weight: 300; color: var(--charcoal); margin-bottom: 30px;
}
.entry-page-thumb { margin-bottom: 40px; }
.entry-page-thumb img { width: 100%; height: auto; }
.entry-page-content { font-size: 0.95rem; line-height: 1.9; color: var(--text); max-width: 760px; }
.entry-page-content p { margin-bottom: 22px; }
.entry-page-content h2, .entry-page-content h3 { font-family: var(--font-display); font-weight: 400; margin: 36px 0 16px; color: var(--charcoal); }
.entry-page-content a { color: var(--navy-mid); }
.entry-page-content img { max-width: 100%; height: auto; }

.page-links { margin-top: 30px; font-size: 0.85rem; }
.page-links a { color: var(--navy-mid); margin: 0 6px; }

.widget-area { margin-top: 60px; }
.widget { background: var(--white); padding: 30px; margin-bottom: 24px; }
.widget-title {
	font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
	color: var(--charcoal); margin-bottom: 18px;
}

.error-404 { padding: 60px 0; }
.error-404 .search-form { margin-top: 30px; display: flex; gap: 0; max-width: 440px; }
.error-404 .search-form label { flex: 1; }
.error-404 .search-form input[type="search"] {
	width: 100%; border: 1px solid #ddd; background: var(--white);
	padding: 14px 18px; font-family: var(--font-body); font-size: 0.9rem; outline: none;
}
.error-404 .search-form input[type="submit"] {
	background: var(--navy-mid); color: var(--white); border: none;
	padding: 0 26px; cursor: pointer; font-family: var(--font-body);
	font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.error-404 .search-form input[type="submit"]:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   SINGLE ROOM TYPE (MotoPress Hotel Booking)
   Themes the plugin's own .mphb-* markup —
   booking/calendar behavior is Phase 3 scope.
══════════════════════════════════════ */
.room-hero { height: 60vh; min-height: 380px; overflow: hidden; }
.room-hero-img { width: 100%; height: 100%; object-fit: cover; }
.room-detail-body { padding-top: 60px; padding-bottom: 60px; max-width: 900px; }

.mphb-room-type-title {
	font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem);
	font-weight: 300; color: var(--charcoal); margin-bottom: 24px;
}
.room-detail-body .mphb_taxonomy_room_type_facility,
.room-detail-body p { font-size: 0.95rem; line-height: 1.9; color: var(--text); margin-bottom: 22px; }

.mphb-regular-price {
	font-family: var(--font-display); font-size: 1.8rem; color: var(--navy-mid);
	font-weight: 300; margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark);
}
.mphb-regular-price strong {
	display: block; font-family: var(--font-body); font-size: 0.68rem;
	letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-dark);
	font-weight: 500; margin-bottom: 6px;
}

.mphb-details-title, .mphb-calendar-title, .mphb-reservation-form-title {
	font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
	color: var(--charcoal); margin: 40px 0 20px;
}
.mphb-single-room-type-attributes {
	list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px;
	margin-bottom: 20px;
}
.mphb-single-room-type-attributes li { font-size: 0.88rem; color: var(--text); }
.mphb-attribute-title {
	font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
	color: var(--gold-dark); font-weight: 600; margin-right: 6px;
}
.mphb-single-room-type-gallery-wrapper { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.mphb-single-room-type-gallery-wrapper img { width: 140px; height: 100px; object-fit: cover; }

.mphb-reservation-form-title { margin-top: 50px; }

/* ══════════════════════════════════════
   GALLERY (Phase 5 — new section, no
   source mockup; follows the existing
   card/grid visual language)
══════════════════════════════════════ */
.gallery-section { background: var(--cream); }
.gallery-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item { display: block; overflow: hidden; height: 220px; }
.gallery-item img {
	width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ══════════════════════════════════════
   SPECIAL OFFERS (Phase 5 — new section)
══════════════════════════════════════ */
.offers-section { background: var(--cream-dark); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card { background: var(--white); overflow: hidden; transition: transform 0.4s, box-shadow 0.4s; }
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.offer-card-img { height: 220px; overflow: hidden; }
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-card-body { padding: 26px 28px; }
.offer-card-body h3 {
	font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
	margin-bottom: 10px; color: var(--charcoal);
}
.offer-card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.offer-card-valid {
	font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--gold-dark); margin-bottom: 18px !important;
}

/* ══════════════════════════════════════
   INSTAGRAM (Smash Balloon wrapper)
══════════════════════════════════════ */
.instagram-section { background: var(--cream); }

/* ══════════════════════════════════════
   MAP (Phase 5 — new section)
══════════════════════════════════════ */
.map-section { background: var(--cream-dark); padding-top: 0; }
.map-embed { box-shadow: 0 20px 60px rgba(0,0,0,0.1); line-height: 0; }
.map-directions { text-align: center; margin: 18px 0 0; }
.map-directions a {
	display: inline-block; border: 1px solid var(--gold); color: var(--navy-mid);
	padding: 10px 26px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
	text-decoration: none; transition: all 0.3s;
}
.map-directions a:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   NEWSLETTER STATUS MESSAGE
══════════════════════════════════════ */
.newsletter-message {
	width: 100%; text-align: center; margin-top: 16px;
	font-size: 0.8rem; color: rgba(255,255,255,0.7);
}
.newsletter-message.is-error { color: #f2a1a1; }

/* ══════════════════════════════════════
   BREADCRUMBS (Phase 6)
══════════════════════════════════════ */
.pierdad-breadcrumbs {
	background: var(--cream-dark);
	border-bottom: 1px solid rgba(0,0,0,0.06);
	padding: 14px 0;
}
.pierdad-breadcrumbs-trail {
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--text-light);
}
.pierdad-breadcrumbs-trail a {
	color: var(--text-light);
	text-decoration: none;
	transition: color 0.3s;
}
.pierdad-breadcrumbs-trail a:hover,
.pierdad-breadcrumbs-trail a:focus-visible {
	color: var(--gold-dark);
}
.pierdad-breadcrumbs-trail .last {
	color: var(--text);
}
.pierdad-breadcrumbs-trail .separator {
	margin: 0 8px;
	color: var(--gold);
}

@media (max-width: 1024px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.offers-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.gallery-item { height: 160px; }
	.offers-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   ACCESSIBILITY: SKIP LINK + FOCUS STATES (Phase 6)
══════════════════════════════════════ */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	width: auto; height: auto;
	overflow: visible;
	clip: auto;
	z-index: 100000;
	background: var(--navy);
	color: var(--white);
	padding: 14px 24px;
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-decoration: none;
}

/* Restores a visible keyboard-focus indicator site-wide — several controls
   above (booking bar fields, newsletter input) strip the
   default outline without a replacement. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

/* ══════════════════════════════════════
   ROOM BOOKING: MotoPress calendar + reservation form,
   restyled to match the brand instead of the plugin's default theme.
══════════════════════════════════════ */

/* --- Availability calendar --- */
.mphb-calendar {
	--mphb-available-date-bg: var(--gold-light);
	--mphb-available-date-color: var(--navy-deep);
	--mphb-not-available-date-bg: var(--cream-dark);
	--mphb-not-available-date-color: var(--text-light);
	--mphb-booked-date-bg: var(--cream-dark);
	--mphb-booked-date-color: var(--text-light);
	--mphb-out-of-season-date-bg: var(--cream-dark);
	--mphb-out-of-season-date-color: var(--text-light);
	--mphb-selected-date-bg: var(--gold);
	--mphb-selected-date-color: var(--navy-deep);
	--mphb-unselectable-date-color: var(--text-light);
	border: 1px solid var(--cream-dark);
	font-family: var(--font-body);
}
.mphb-calendar .datepick-nav,
.mphb-calendar .datepick-ctrl {
	background-color: var(--navy);
	color: var(--white);
}
.mphb-calendar .datepick-ctrl { background-color: var(--navy-deep); }
.mphb-calendar .datepick-nav a,
.mphb-calendar .datepick-ctrl a { color: var(--white); }
.mphb-calendar .datepick-cmd:hover,
.mphb-calendar .datepick-ctrl .datepick-cmd:hover { background-color: var(--navy-mid); }
.mphb-calendar .datepick-month-header,
.mphb-calendar .datepick-month-header select,
.mphb-calendar .datepick-month-header input {
	background-color: var(--navy);
	color: var(--gold-light);
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.03em;
}
.mphb-calendar .datepick-month-header select { background-color: transparent; border: none; }
.mphb-calendar .datepick-month th,
.mphb-calendar .datepick-month th a {
	background-color: var(--cream-dark);
	color: var(--text-light);
	font-family: var(--font-body);
	font-size: 0.65rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 500;
	border-color: var(--cream-dark);
}
.mphb-calendar .datepick-month td { border-color: var(--cream-dark); }
.mphb-calendar .datepick-month td .datepick-other-month { background-color: var(--cream); }
.mphb-calendar .datepick-month td .datepick-today { box-shadow: inset 0 0 0 2px var(--gold-dark); }

/* --- Reservation form --- */
.mphb-booking-form p { margin-bottom: 26px; }
.mphb-booking-form label {
	display: block; font-size: 0.68rem; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; font-weight: 500;
}
.mphb-booking-form label abbr { text-decoration: none; }
.mphb-booking-form input[type="text"],
.mphb-booking-form select {
	width: 100%; max-width: 320px;
	border: none; border-bottom: 1px solid var(--cream-dark);
	background: transparent; border-radius: 0; appearance: none;
	padding: 10px 0; font-family: var(--font-body); font-size: 0.95rem;
	color: var(--text); outline: none; transition: border-color 0.3s;
}
.mphb-booking-form input[type="text"]:focus,
.mphb-booking-form select:focus { border-color: var(--gold); }
.mphb-booking-form .mphb-required-fields-tip {
	color: var(--text-light); font-size: 0.78rem; margin-bottom: 26px;
}
.mphb-booking-form .mphb-reserve-btn {
	background: transparent; border: 1px solid var(--gold);
	color: var(--gold); padding: 14px 40px;
	font-family: var(--font-body); font-size: 0.72rem;
	letter-spacing: 0.2em; text-transform: uppercase;
	cursor: pointer; transition: all 0.3s;
}
.mphb-booking-form .mphb-reserve-btn:hover { background: var(--gold); color: var(--navy-deep); }

/* ══════════════════════════════════════
   SEARCH RESULTS: RECOMMENDATION CARDS
   Themes MotoPress's [mphb_search_results] "recommended
   accommodations" output (.mphb-recommendation) as white cards.
══════════════════════════════════════ */
.mphb_sc_search_results-wrapper { padding: 20px 0 10px; }
.mphb_sc_search_results-info {
	font-size: 0.9rem; color: var(--text-light); margin-bottom: 30px;
}
.mphb-recommendation-title {
	font-size: 1.2rem; font-weight: 500; color: var(--navy-mid); margin-bottom: 16px;
}
.mphb-recommendation {
	display: flex; flex-wrap: wrap; align-items: center;
	background: var(--white); border: 1px solid var(--cream-dark);
	border-radius: 8px; padding: 20px; margin-bottom: 24px;
}
.mphb-recommendation-details-list { list-style: none; flex: 1 1 100%; width: 100%; }
.mphb-recommendation-details-list li + li {
	margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--cream-dark);
}
.mphb-recommendation-item {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.mphb-recommendation-item-count {
	order: 1; font-size: 0.85rem; color: var(--text-light);
}
.mphb-recommendation-item-link {
	order: 2; font-size: 19px; font-weight: 500;
	color: var(--navy-mid); text-decoration: none;
}
.mphb-recommendation-item-link:hover { color: var(--gold-dark); }
.mphb-recommedation-item-subtotal {
	order: 3; margin-left: auto; font-size: 0.95rem; color: var(--text); font-weight: 700;
}
.mphb-recommendation-item-guests {
	order: 4; flex: 1 1 100%; display: flex; align-items: center; gap: 6px;
	font-size: 0.78rem; color: var(--text-light); font-style: normal;
}
.mphb-recommendation-item-guests::before {
	content: ''; display: inline-block; width: 13px; height: 13px; flex-shrink: 0;
	background-color: var(--gold-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.5 4-7 8-7s8 2.5 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.5 4-7 8-7s8 2.5 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mphb-recommendation-total {
	border-top: 1px solid var(--cream-dark);
	margin-top: 18px; padding-top: 16px;
	display: flex; align-items: baseline; gap: 8px;
}
.mphb-recommendation-total-title {
	font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light);
}
.mphb-recommendation-total-value {
	font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-mid);
}
.mphb-recommendation-reserve-button {
	background: transparent; color: var(--gold);
	border: 1px solid var(--gold);
	padding: 12px 32px; font-size: 0.72rem;
	letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
	cursor: pointer; transition: all 0.3s; margin-top: 18px; margin-left: auto;
	align-self: flex-start;
}
.mphb-recommendation-reserve-button:hover { background: var(--gold); color: var(--navy-deep); }

@media (max-width: 600px) {
	.mphb-recommendation-total { flex: 1 1 100%; }
	.mphb-recommendation-reserve-button { flex: 1 1 100%; margin-left: 0; text-align: center; }
}

/* ══════════════════════════════════════
   CHECKOUT: ACCOMMODATION + GUEST DETAILS FORM
   Themes MotoPress's [mphb_checkout] output.
══════════════════════════════════════ */
.mphb_sc_checkout-form {
	background: var(--white); border-radius: 8px;
	padding: 36px 40px; max-width: 720px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.mphb-checkout-section + .mphb-checkout-section {
	border-top: 1px solid var(--cream-dark);
	margin-top: 34px; padding-top: 34px;
}
.mphb-booking-details-title,
.mphb-customer-details-title,
.mphb-price-breakdown-title,
.mphb-gateway-chooser-title {
	font-size: 1.3rem; font-weight: 500; color: var(--navy-mid); margin-bottom: 20px;
}
.mphb-room-details + .mphb-room-details {
	margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--cream-dark);
}
.mphb-room-number { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.mphb-room-type-title { font-size: 1.2rem; font-weight: 500; color: var(--navy-mid); margin-bottom: 16px; }
.mphb-room-type-title a { color: inherit; text-decoration: none; }
.mphb-room-type-title a:hover { color: var(--gold-dark); }

.mphb_sc_checkout-form .mphb-adults-chooser,
.mphb_sc_checkout-form .mphb-children-chooser,
.mphb_sc_checkout-form .mphb-guest-name-wrapper,
.mphb-customer-details p {
	margin-bottom: 20px;
}
.mphb_sc_checkout-form .mphb-adults-chooser label,
.mphb_sc_checkout-form .mphb-children-chooser label,
.mphb_sc_checkout-form .mphb-guest-name-wrapper label,
.mphb-customer-details label {
	display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
	font-weight: 700; color: var(--navy-mid); margin-bottom: 8px;
}
.mphb-customer-details p br { display: none; }
.mphb-customer-details label abbr,
.mphb_sc_checkout-form .mphb-adults-chooser label abbr,
.mphb_sc_checkout-form .mphb-children-chooser label abbr { text-decoration: none; }

.mphb_sc_checkout-form input[type="text"],
.mphb_sc_checkout-form input[type="email"],
.mphb_sc_checkout-form input[type="tel"],
.mphb_sc_checkout-form select {
	display: block; width: 100%; max-width: 100%; height: 38px;
	border: 1px solid #ddd; border-radius: 4px; background: var(--white);
	padding: 0 14px; font-size: 0.88rem; color: var(--text);
	outline: none; appearance: none; transition: border-color 0.3s;
}
.mphb_sc_checkout-form textarea {
	display: block; width: 100%; min-height: 90px;
	border: 1px solid #ddd; border-radius: 4px; background: var(--white);
	padding: 10px 14px; font-size: 0.88rem; color: var(--text);
	outline: none; transition: border-color 0.3s; resize: vertical;
}
.mphb_sc_checkout-form input[type="text"]:focus,
.mphb_sc_checkout-form input[type="email"]:focus,
.mphb_sc_checkout-form input[type="tel"]:focus,
.mphb_sc_checkout-form select:focus,
.mphb_sc_checkout-form textarea:focus { border-color: var(--gold); }

.mphb-required-fields-tip { font-size: 0.78rem; color: var(--text-light); margin-bottom: 24px; }

.mphb-gateway-title { font-size: 0.95rem; font-weight: 700; color: var(--navy-mid); }
.mphb-gateway-description { font-size: 0.85rem; color: var(--text-light); margin-top: 6px; }

.mphb-price-breakdown-total,
.mphb-price-breakdown-deposit {
	display: flex; align-items: baseline; justify-content: space-between;
	font-size: 0.95rem; color: var(--text); padding-top: 12px; margin-top: 12px;
	border-top: 1px solid var(--cream-dark);
}
.mphb-price-breakdown-deposit { font-weight: 700; color: var(--navy-mid); }

.pierdad-checkout-legal {
	font-size: 0.84rem; color: var(--text); margin: 24px 0 0; line-height: 1.6;
}
.pierdad-checkout-legal a { color: var(--navy-mid); text-decoration: underline; }
.pierdad-checkout-legal a:hover { color: var(--gold); }

.mphb_sc_checkout-submit-wrapper { margin-top: 8px; }
.mphb_sc_checkout-submit-wrapper input.button {
	display: block; width: 100%; background: var(--navy-mid); color: var(--white);
	border: none; border-radius: 4px; padding: 16px; cursor: pointer;
	font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 600;
	transition: background 0.3s;
}
.mphb_sc_checkout-submit-wrapper input.button:hover { background: var(--gold); color: var(--navy-deep); }

@media (max-width: 768px) {
	.mphb_sc_checkout-form { padding: 26px 24px; }
}

/* ══════════════════════════════════════
   GALLERY ARCHIVE: MASONRY GRID
══════════════════════════════════════ */
.gallery-masonry {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 90px;
	gap: 18px;
	margin-bottom: 50px;
}
.gallery-tile {
	position: relative;
	display: block;
	overflow: hidden;
	grid-column: span 1;
	grid-row: span 2;
	background: var(--cream-dark);
}
.gallery-tile--wide { grid-column: span 2; grid-row: span 2; }
.gallery-tile--tall { grid-row: span 3; }
.gallery-tile--large { grid-column: span 2; grid-row: span 3; }

.gallery-tile img {
	width: 100%; height: 100%; object-fit: cover;
	display: block; transition: transform 0.6s ease;
}
.gallery-tile:hover img { transform: scale(1.08); }

.gallery-tile-overlay {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(5, 3, 122, 0.55);
	opacity: 0; transition: opacity 0.35s ease;
}
.gallery-tile:hover .gallery-tile-overlay,
.gallery-tile:focus-visible .gallery-tile-overlay { opacity: 1; }
.gallery-tile-overlay svg {
	width: 34px; height: 34px; color: var(--gold-light);
	transform: scale(0.85); transition: transform 0.35s ease;
}
.gallery-tile:hover .gallery-tile-overlay svg,
.gallery-tile:focus-visible .gallery-tile-overlay svg { transform: scale(1); }

.gallery-load-more-wrap { text-align: center; }
.gallery-load-more-wrap .btn-outline {
	background: transparent; color: var(--navy);
	border-color: var(--navy);
}
.gallery-load-more-wrap .btn-outline:hover { background: var(--navy); color: var(--white); }
.gallery-load-more-wrap .btn-outline:disabled {
	opacity: 0.5; cursor: default; pointer-events: none;
}

@media (max-width: 1024px) {
	.gallery-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 80px; }
}
@media (max-width: 768px) {
	.gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 70px; gap: 12px; }
}

/* ══════════════════════════════════════
   GALLERY ARCHIVE: LIGHTBOX
══════════════════════════════════════ */
body.gallery-lightbox-open { overflow: hidden; }

.gallery-lightbox {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(2, 1, 55, 0.94);
	display: flex; align-items: center; justify-content: center;
	padding: 70px 100px;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.gallery-lightbox.is-open {
	opacity: 1; visibility: visible;
	transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.gallery-lightbox-figure { max-width: 100%; max-height: 100%; margin: 0; text-align: center; }
.gallery-lightbox-figure img {
	max-width: 100%; max-height: 78vh; object-fit: contain;
	box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.gallery-lightbox-caption {
	margin-top: 20px; color: var(--gold-light);
	font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
	position: absolute; z-index: 2;
	border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.05);
	color: var(--white);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; transition: all 0.3s;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
	border-color: var(--gold); background: rgba(201,169,110,0.15); color: var(--gold);
}
.gallery-lightbox-close { top: 24px; right: 24px; width: 46px; height: 46px; }
.gallery-lightbox-close svg { width: 20px; height: 20px; }
.gallery-lightbox-prev,
.gallery-lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.gallery-lightbox-prev { left: 24px; }
.gallery-lightbox-next { right: 24px; }
.gallery-lightbox-prev svg,
.gallery-lightbox-next svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
	.gallery-lightbox { padding: 90px 16px 40px; }
	.gallery-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
	.gallery-lightbox-prev,
	.gallery-lightbox-next { width: 42px; height: 42px; }
	.gallery-lightbox-prev { left: 8px; }
	.gallery-lightbox-next { right: 8px; }
}

/* ══════════════════════════════════════
   LEGAL PAGES: HIGHLIGHTED [PLACEHOLDERS] FOR FACTS STILL TO CONFIRM
══════════════════════════════════════ */
.pierdad-legal-todo {
	background: #fff3cd; color: #7a5c00;
	padding: 1px 6px; font-weight: 600; font-size: 0.9em;
	border-radius: 2px;
}

.entry-page-content ul, .entry-page-content ol { margin: 0 0 22px; padding-left: 22px; }
.entry-page-content li { margin-bottom: 8px; }

/* ══════════════════════════════════════
   WHATSAPP CHECKOUT (inc/whatsapp-checkout.php)
   Search results buttons, checkout intro line and the
   "Taking you to WhatsApp" panel.
══════════════════════════════════════ */
/* Uses the theme palette: --gold for buttons and accents, --navy-deep
   for the panel and button text, matching .btn-primary. */
/* Primary: "Book this room" / "Continue to booking" */
.mphb_sc_search_results-wrapper .mphb-book-button,
.mphb_sc_search_results-wrapper .mphb-confirm-reservation {
	display: inline-block;
	background: var(--gold); color: var(--navy-deep);
	border: 2px solid var(--gold); border-radius: 0;
	padding: 14px 36px; line-height: 1.2;
	font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
	letter-spacing: 0.2em; text-transform: uppercase;
	cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mphb_sc_search_results-wrapper .mphb-book-button:hover,
.mphb_sc_search_results-wrapper .mphb-confirm-reservation:hover {
	background: var(--gold-light); border-color: var(--gold-light);
}
/* Secondary: "Add another room", once this room is in the reservation */
.mphb_sc_search_results-wrapper .mphb-rooms-added .mphb-book-button {
	background: transparent; color: var(--navy-deep); border-color: var(--navy-deep);
}
.mphb_sc_search_results-wrapper .mphb-rooms-added .mphb-book-button:hover {
	background: var(--navy-deep); color: var(--white);
}
.mphb_sc_search_results-wrapper .mphb-book-button:focus-visible,
.mphb_sc_search_results-wrapper .mphb-confirm-reservation:focus-visible,
.mphb_sc_search_results-wrapper .mphb-view-details-button:focus-visible,
.mphb_sc_search_results-wrapper .mphb-remove-from-reservation:focus-visible {
	outline: 2px solid var(--navy-deep); outline-offset: 3px;
}
.mphb_sc_search_results-wrapper .mphb-reserve-room-section {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.mphb_sc_search_results-wrapper .mphb-reserve-room-section .mphb-rooms-reservation-message-wrapper { flex: 1 1 100%; }
.mphb_sc_search_results-wrapper .mphb-rooms-reservation-message { color: var(--text); font-size: 0.88rem; margin: 6px 0 0; }

/* "View Details" and "Remove" as plain text links */
.mphb_sc_search_results-wrapper .mphb-view-details-button,
.mphb_sc_search_results-wrapper .mphb-remove-from-reservation {
	background: none; border: none; padding: 0;
	font-family: var(--font-body); font-size: 0.84rem; font-weight: 700;
	color: var(--navy-mid);
	text-decoration: underline; text-decoration-color: var(--gold);
	text-underline-offset: 4px; text-decoration-thickness: 2px;
	transition: color 0.3s;
}
.mphb_sc_search_results-wrapper .mphb-view-details-button:hover,
.mphb_sc_search_results-wrapper .mphb-remove-from-reservation:hover { color: var(--gold-dark); }
.mphb_sc_search_results-wrapper .mphb-view-details-button-wrapper { margin: 0 0 18px; }

/* Line above the checkout form */
.pierdad-wa-intro {
	max-width: 720px; margin: 0 0 24px;
	background: var(--white); border-left: 3px solid var(--gold);
	padding: 16px 20px; font-size: 0.92rem; color: var(--navy-deep);
}

/* Confirmation panel */
.pierdad-wa-panel {
	position: relative; overflow: hidden;
	max-width: 640px; margin: 0 auto;
	background: var(--navy-deep); border-top: 3px solid var(--gold);
	padding: 40px 44px; color: rgba(255,255,255,0.85);
	font-family: var(--font-body);
}
.pierdad-wa-panel .pierdad-wa-title {
	font-family: var(--font-display); font-weight: 500;
	font-size: 1.7rem; line-height: 1.3; color: var(--white); margin: 0 0 14px;
}
.pierdad-wa-panel p { font-size: 0.95rem; line-height: 1.7; margin: 0 0 24px; color: rgba(255,255,255,0.85); }
.pierdad-wa-panel .pierdad-wa-small { font-size: 0.8rem; margin: 18px 0 0; color: rgba(255,255,255,0.6); }
.pierdad-wa-panel .pierdad-wa-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--gold); color: var(--navy-deep);
	padding: 16px 32px; text-decoration: none;
	font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.15em; text-transform: uppercase;
	transition: background 0.3s;
}
.pierdad-wa-panel .pierdad-wa-button:hover { background: var(--gold-light); color: var(--navy-deep); }
.pierdad-wa-panel .pierdad-wa-button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.pierdad-wa-icon { width: 20px; height: 20px; flex-shrink: 0; }
/* Thin gold bar filling over the ~2s before the redirect. */
.pierdad-wa-panel[data-wa-redirect]::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
	background: var(--gold); transform-origin: left; transform: scaleX(0);
	animation: pierdadWaProgress 2s linear forwards;
}
@keyframes pierdadWaProgress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	.pierdad-wa-panel[data-wa-redirect]::after { animation: none; display: none; }
	.pierdad-wa-panel .pierdad-wa-button,
	.mphb_sc_search_results-wrapper .mphb-book-button,
	.mphb_sc_search_results-wrapper .mphb-confirm-reservation { transition: none; }
}
@media (max-width: 480px) {
	.pierdad-wa-panel { padding: 30px 22px; }
	.pierdad-wa-panel .pierdad-wa-title { font-size: 1.4rem; }
	.pierdad-wa-panel .pierdad-wa-button { display: flex; width: 100%; padding: 16px 12px; gap: 8px; font-size: 0.72rem; letter-spacing: 0.05em; line-height: 1.4; text-align: center; }
	.mphb_sc_search_results-wrapper .mphb-book-button,
	.mphb_sc_search_results-wrapper .mphb-confirm-reservation { width: 100%; }
}
