/*
Theme Name: Merco Place
Description: Lightweight theme for Merco Place Ltd, designed for pages built with Elementor. Provides the header, footer, fonts, colours and motion styles; page content is edited in Elementor.
Version: 1.2.9
Requires at least: 6.0
Requires PHP: 7.4
Author: Merco Place Ltd
Text Domain: merco-place
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * CSS classes you can add in Elementor (Advanced > CSS Classes):
 *   merco-hero          section: default hero photo (replace via Style > Background)
 *   mp-orbs             section: soft drifting colour blobs behind the content
 *   mp-card             column: lifts on hover
 *   mp-glass            column: frosted-glass card
 *   mp-showcase         column: Millers House main photo (replace via Style > Background)
 *   mp-bb-thumbs        HTML widget inside mp-showcase: the two small photos underneath
 *   mp-badge            text widget: small floating white badge
 *   mp-float / mp-float-slow   any widget: gentle up-and-down float
 *   mp-btn mp-btn--dark | mp-btn--light | mp-btn--ghost | mp-btn--outline   button widget: rounded button with round icon
 *   mp-steps            text widget containing a numbered list: 01, 02, 03 styling
 *   mp-scroll-cue       HTML widget: "Scroll" cue at the bottom of the hero
 *   mp-page-hero        section: page title band (Our developments page)
 *   mp-breadcrumb       text widget: small "Home / ..." trail
 *   mp-project          column: project photo tile with the caption at the bottom (set the photo in Style > Background)
 *   mp-project--millers | --northlands | --charlton | --mitcham | --new-brighton | --boat-house
 *                       column: default cover photo for a project tile
 *   mp-project-feature  column: taller project tile
 *   mp-project-tag      text widget: "5 photos" label in the top corner of a tile
 *   mp-photos           HTML widget inside a project tile: hidden list of the project's photos,
 *                       shown one by one when the tile is clicked (see README)
 */

:root {
  --mp-bg: #ffffff;
  --mp-bg-alt: #f7f4f0;
  --mp-text: #1d212a;
  --mp-muted: #555a63;
  --mp-bronze: #a68164;      /* decorative lines only */
  --mp-bronze-text: #7a5a40; /* accessible bronze for text and links */
  --mp-rule: #e6e1da;
  --mp-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --mp-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mp-shadow: 0 18px 50px -20px rgba(29, 33, 42, 0.25);
  --mp-shadow-lift: 0 30px 70px -24px rgba(29, 33, 42, 0.35);
  --mp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--mp-bg);
  color: var(--mp-text);
  font-family: var(--mp-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--mp-serif); font-weight: 500; line-height: 1.15; }

a { color: var(--mp-bronze-text); text-underline-offset: 0.2em; }
a:hover { color: var(--mp-text); }

:focus-visible { outline: 2px solid var(--mp-bronze-text); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; overflow: visible;
  left: 1rem; top: 1rem; z-index: 100000;
  background: var(--mp-text); color: #fff; padding: 0.6rem 1rem; text-decoration: none;
}

/* ---------- Header ---------- */
.mp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mp-header.is-scrolled { border-bottom-color: var(--mp-rule); box-shadow: 0 10px 30px -22px rgba(29, 33, 42, 0.4); }
.admin-bar .mp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mp-header { top: 46px; } }
.mp-header__inner {
  max-width: 1216px; margin: 0 auto;
  padding: 16px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 4px 32px;
  transition: padding 0.3s var(--mp-ease);
}
@media (min-width: 600px) {
  .mp-header__inner { padding: 20px 32px; }
  .mp-header.is-scrolled .mp-header__inner { padding-top: 13px; padding-bottom: 13px; }
}
.mp-wordmark {
  font-family: var(--mp-serif); font-weight: 500;
  font-size: 26px; letter-spacing: 0.04em; line-height: 1.2;
  color: var(--mp-text); text-decoration: none;
}
.mp-wordmark:hover { color: var(--mp-text); }
.mp-header .custom-logo { max-height: 60px; width: auto; display: block; }
.mp-wordmark:has(.mp-logo) { display: block; line-height: 0; }
.mp-logo { display: block; height: 56px; width: auto; transition: height 0.3s var(--mp-ease); }
.mp-header.is-scrolled .mp-logo { height: 46px; }
@media (max-width: 599px) { .mp-logo { height: 44px; } }
.mp-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.mp-menu a {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mp-text); text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.mp-menu a:hover { background: var(--mp-bg-alt); color: var(--mp-text); }
.mp-menu a.is-active { background: var(--mp-text); color: #fff; }
.mp-menu .sub-menu { display: none; }
@media (max-width: 599px) {
  .mp-header { position: static; }
  .mp-menu { gap: 2px; margin-left: -10px; }
  /* At least 44px tall, so the links are easy to tap */
  .mp-menu a { padding: 14px 11px; font-size: 12.5px; line-height: 1.4; letter-spacing: 0.06em; }
}

/* ---------- Hero ---------- */
/* Default photo; choosing a background image in Elementor overrides it. */
.elementor-section.merco-hero,
.e-con.merco-hero {
  background-image: url("assets/images/millers-house-winter-1200.webp");
  background-size: cover;
  background-position: 60% 50%;
}
@media (min-width: 1025px) {
  .elementor-section.merco-hero,
  .e-con.merco-hero { background-image: url("assets/images/millers-house-winter-1600.webp"); }
}
@media (min-width: 1600px), (min-width: 1100px) and (min-resolution: 1.25dppx) {
  .elementor-section.merco-hero,
  .e-con.merco-hero { background-image: url("assets/images/millers-house-winter-2000.webp"); }
}
@media (min-width: 2000px), (min-width: 1500px) and (min-resolution: 1.5dppx) {
  .elementor-section.merco-hero,
  .e-con.merco-hero { background-image: url("assets/images/millers-house-winter-2400.webp"); }
}
.merco-hero { overflow: hidden; }
.merco-hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.merco-hero h1 em { font-style: italic; color: #e9d6c4; }
.merco-hero .elementor-widget-heading,
.merco-hero .elementor-widget-button { animation: mp-rise 1s var(--mp-ease) both; }
.merco-hero .elementor-widget-heading:nth-child(1) { animation-delay: 0.1s; }
.merco-hero .elementor-widget-heading:nth-child(2) { animation-delay: 0.25s; }
.merco-hero .elementor-widget-button { animation-delay: 0.45s; }

.mp-scroll-cue a {
  display: grid; justify-items: center; gap: 6px;
  color: #fff; text-decoration: none;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.mp-scroll-cue a:hover { color: #fff; }
.mp-scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); transform-origin: top; animation: mp-drop 2.2s ease-in-out infinite; }
.elementor-widget.mp-scroll-cue { transform: translateX(-50%); }

/* ---------- Badges and floating ---------- */
/* Elementor 3.x wraps widget content in .elementor-widget-container; Elementor 4
   no longer does, so each rule also targets the widget itself when the wrapper
   is missing. */
.mp-badge > .elementor-widget-container,
.elementor-widget.mp-badge:not(:has(> .elementor-widget-container)) {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 19px;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--mp-muted); text-align: left;
  border-radius: 18px;
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.45);
  font-size: 13.5px; line-height: 1.3;
}
/* The figure sits beside the two lines of text (Guest review score / achieved on Booking.com). */
.mp-badge p { margin: 0; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; white-space: nowrap; }
.mp-badge strong {
  font-family: var(--mp-serif); font-weight: 500;
  font-size: 34px; line-height: 1; color: var(--mp-bronze-text);
  grid-row: span 2;
}
.mp-badge strong small { font-size: 16px; color: var(--mp-muted); }
.mp-badge--dot > .elementor-widget-container::before,
.elementor-widget.mp-badge--dot:not(:has(> .elementor-widget-container))::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: #3f9c6b; animation: mp-pulse 2.4s infinite;
}
.mp-float > .elementor-widget-container,
.elementor-widget.mp-float:not(:has(> .elementor-widget-container)) { animation: mp-float 7s ease-in-out infinite; }
.mp-float-slow > .elementor-widget-container,
.elementor-widget.mp-float-slow:not(:has(> .elementor-widget-container)) { animation: mp-float 8.5s ease-in-out infinite reverse; }
/* ---------- FAQ accordion (home page, section #faq) ---------- */
.mp-faq { text-align: left; display: grid; gap: 14px; }
.mp-faq details {
  background: #fff; border: 1px solid var(--mp-rule); border-radius: 18px;
  transition: border-color .3s var(--mp-ease), box-shadow .3s var(--mp-ease);
}
.mp-faq details:hover { border-color: var(--mp-bronze); }
.mp-faq details[open] { border-color: var(--mp-text); box-shadow: var(--mp-shadow); }
.mp-faq summary {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; column-gap: 16px;
  padding: 20px 22px 20px 24px; cursor: pointer; list-style: none;
}
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary:focus-visible { outline: 2px solid var(--mp-bronze-text); outline-offset: 4px; border-radius: 18px; }
.mp-faq__num { font-family: var(--mp-serif); font-size: 26px; line-height: 1; color: var(--mp-bronze-text); }
.mp-faq summary h3 { margin: 0 !important; font-family: var(--mp-serif); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--mp-text); text-align: left; }
.mp-faq__icon {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--mp-bg-alt);
  transition: background-color .3s var(--mp-ease), transform .3s var(--mp-ease);
}
.mp-faq__icon::before, .mp-faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px;
  background: var(--mp-text); transition: transform .3s var(--mp-ease), background-color .3s var(--mp-ease);
}
.mp-faq__icon::after { transform: rotate(90deg); }
.mp-faq summary:hover .mp-faq__icon { transform: rotate(90deg); }
.mp-faq details[open] .mp-faq__icon { background: var(--mp-text); transform: none; }
.mp-faq details[open] .mp-faq__icon::before,
.mp-faq details[open] .mp-faq__icon::after { background: #fff; }
.mp-faq details[open] .mp-faq__icon::after { transform: rotate(0deg); }
.mp-faq__a { padding: 0 28px 24px 84px; color: var(--mp-muted); animation: mp-faq-in .4s var(--mp-ease); }
.mp-faq__a p { margin: 0 !important; }
@keyframes mp-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .mp-faq { margin: 0 -30px; }
  .mp-faq summary { grid-template-columns: 30px 1fr 38px; column-gap: 10px; padding: 16px 14px 16px 16px; }
  .mp-faq__num { font-size: 20px; }
  .mp-faq summary h3 { font-size: 19px; }
  .mp-faq__icon { width: 38px; height: 38px; }
  .mp-faq__a { padding: 0 18px 20px 56px; }
}
@media (prefers-reduced-motion: reduce) { .mp-faq__a { animation: none; } .mp-faq__icon, .mp-faq summary:hover .mp-faq__icon { transform: none; } }

/* Phones: the hero's "2005 Established" badge sits below the buttons instead of on top of them. */
@media (max-width: 767px) {
  section#home .elementor-widget.mp-badge.elementor-absolute {
    position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    margin: 36px auto 76px !important;
  }
}

/* ---------- Ticker strip ---------- */
.mp-marquee { overflow: hidden; padding: 18px 0; }
.mp-marquee__track { display: flex; width: max-content; animation: mp-marquee 40s linear infinite; }
.mp-marquee:hover .mp-marquee__track { animation-play-state: paused; }
.mp-marquee span {
  font-family: var(--mp-serif); font-style: italic; font-size: 24px; color: #fff;
  white-space: nowrap; padding: 0 26px;
  display: inline-flex; align-items: center; gap: 52px;
}
.mp-marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mp-bronze); }

/* ---------- Drifting orbs ---------- */
.elementor-section.mp-orbs, .e-con.mp-orbs { position: relative; overflow: hidden; }
.mp-orbs::before, .mp-orbs::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(60px); opacity: 0.55; pointer-events: none;
}
.mp-orbs::before { width: 420px; height: 420px; background: #e7d3bf; top: -100px; left: -130px; animation: mp-drift 18s ease-in-out infinite; }
.mp-orbs::after { width: 360px; height: 360px; background: #d9dfe8; bottom: -130px; right: -100px; animation: mp-drift 22s ease-in-out infinite reverse; }
.mp-orbs > .elementor-container, .mp-orbs > .e-con-inner { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.mp-card > .elementor-widget-wrap,
.mp-glass > .elementor-widget-wrap {
  transition: transform 0.5s var(--mp-ease), box-shadow 0.5s var(--mp-ease);
}
.mp-card:hover > .elementor-widget-wrap { transform: translateY(-8px); box-shadow: var(--mp-shadow-lift) !important; }
.mp-glass > .elementor-widget-wrap { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mp-glass:hover > .elementor-widget-wrap { transform: translateY(-6px); }

/* Two cards ("Stay with us" / "Homes we build") and the three fact cards:
   width, gaps, borders and spacing as in the original design. */
.elementor-container:has(> .mp-card),
.elementor-container:has(> .mp-glass + .mp-glass) { max-width: 992px; }
@media (min-width: 768px) {
  .elementor-container:has(> .mp-card) { gap: 32px; }
  .elementor-container:has(> .mp-glass + .mp-glass) { gap: 24px; }
  .elementor-container:has(> .mp-card) > .elementor-column,
  .elementor-container:has(> .mp-glass + .mp-glass) > .elementor-column { width: auto !important; flex: 1 1 0; min-width: 0; }
}
.mp-card > .elementor-widget-wrap { border: 1px solid var(--mp-rule); }
.mp-card > .elementor-widget-wrap > .elementor-widget { margin-bottom: 0 !important; }
.mp-card > .elementor-widget-wrap > .elementor-widget:first-child { margin-bottom: 20px !important; }
.mp-card > .elementor-widget-wrap > .elementor-widget-heading:nth-child(2) { margin-bottom: 14px !important; }
.mp-card .elementor-widget-text-editor p { margin: 0 0 14px; }
.mp-card .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-container:has(> .mp-glass + .mp-glass) .mp-glass > .elementor-widget-wrap { border: 1px solid rgba(255, 255, 255, 0.9); padding: 32px 28px !important; }
.elementor-container:has(> .mp-glass + .mp-glass) .mp-glass > .elementor-widget-wrap > .elementor-widget { margin-bottom: 0 !important; }
.elementor-container:has(> .mp-glass + .mp-glass) .mp-glass > .elementor-widget-wrap > .elementor-widget:first-child { margin-bottom: 10px !important; }
.elementor-container:has(> .mp-glass + .mp-glass) .mp-glass > .elementor-widget-wrap > .elementor-widget:nth-child(2) { margin-bottom: 4px !important; }
.elementor-container:has(> .mp-glass + .mp-glass) .mp-glass .elementor-widget-text-editor p { margin: 0; }

a.mp-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--mp-text);
}
a.mp-more::after {
  content: "\2192"; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--mp-bg-alt); letter-spacing: 0;
  transition: transform 0.35s var(--mp-ease);
}
a.mp-more:hover { color: var(--mp-bronze-text); }
a.mp-more:hover::after { transform: translateX(4px) rotate(-8deg); }

/* ---------- Millers House photo card ---------- */
/* Main photo (the column background) fills the area above the two small photos. */
.elementor-column.mp-showcase > .elementor-widget-wrap {
  position: relative;
  background-image: url("assets/images/millers-house-room.webp");
  background-size: cover;
  background-position: 50% 60%;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: content-box;
  padding: 0 0 186px !important;
  min-height: 640px;
}
@media (max-width: 767px) { .elementor-column.mp-showcase > .elementor-widget-wrap { min-height: 520px; padding-bottom: 150px !important; } }
/* Two small photos (HTML widget with class mp-bb-thumbs) along the bottom */
.mp-showcase .mp-bb-thumbs { position: absolute !important; left: 0; right: 0; bottom: 0; width: auto !important; margin: 0 !important; }
.mp-bb-thumbs > .elementor-widget-container > div,
.mp-bb-thumbs > div:not(.elementor-widget-container) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mp-bb-thumbs figure { margin: 0; height: 166px; overflow: hidden; box-shadow: var(--mp-shadow); }
.mp-bb-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--mp-ease); }
.mp-bb-thumbs figure:hover img { transform: scale(1.05); }
@media (max-width: 767px) { .mp-bb-thumbs figure { height: 132px; } }

/* ---------- Our developments page ---------- */
.mp-page-hero h1 em { font-style: italic; color: var(--mp-bronze-text); }
.mp-breadcrumb p { margin: 0; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-muted); }
.mp-breadcrumb a { color: var(--mp-bronze-text); text-decoration: none; display: inline-block; padding: 12px 5px; margin: -12px -5px; } /* bigger tap area, same layout */
.mp-breadcrumb a:hover { text-decoration: underline; }

.elementor-column.mp-project > .elementor-widget-wrap {
  position: relative; overflow: hidden;
  min-height: 320px; padding: 22px 24px !important;
  align-content: flex-end; align-items: flex-end;
  background-color: var(--mp-bg-alt);
  background-size: cover; background-position: center;
  box-shadow: var(--mp-shadow);
  transition: transform 0.5s var(--mp-ease), box-shadow 0.5s var(--mp-ease);
}
.elementor-column.mp-project-feature > .elementor-widget-wrap { min-height: 460px; }
.elementor-column.mp-project > .elementor-widget-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16, 19, 26, 0.85), rgba(16, 19, 26, 0.55) 30%, rgba(16, 19, 26, 0) 55%);
}
.mp-project .elementor-widget-wrap > .elementor-element { position: relative; z-index: 1; }
.mp-project:hover > .elementor-widget-wrap { transform: translateY(-6px); box-shadow: var(--mp-shadow-lift); }
.mp-project .elementor-widget:not(:last-child) { margin-bottom: 2px; }
.mp-project .elementor-widget p { margin: 0; }
.mp-project .mp-project-tag {
  position: absolute !important; top: 14px; left: 14px; width: auto !important; margin: 0 !important;
}
.mp-project-tag p {
  margin: 0; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--mp-text);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.6;
}
.elementor-column.mp-project--millers > .elementor-widget-wrap { background-image: url("assets/images/millers-house-winter-1200.webp"); background-position: 65% 60%; }
.elementor-column.mp-project--mitcham > .elementor-widget-wrap { background-image: url("assets/images/projects/mitcham-1-800.webp"); }
.elementor-column.mp-project--charlton > .elementor-widget-wrap { background-image: url("assets/images/projects/charlton-1.webp"); }
.elementor-column.mp-project--northlands > .elementor-widget-wrap { background-image: url("assets/images/projects/northlands-park-1-800.webp"); }
.elementor-column.mp-project--new-brighton > .elementor-widget-wrap { background-image: url("assets/images/projects/new-brighton-road-1-800.webp"); }
.elementor-column.mp-project--boat-house > .elementor-widget-wrap { background-image: url("assets/images/projects/boat-house-1-800.webp"); }
@media (max-width: 767px) {
  .elementor-column.mp-project > .elementor-widget-wrap,
  .elementor-column.mp-project-feature > .elementor-widget-wrap { min-height: 280px; }
}
.mp-project[role="button"] { cursor: zoom-in; }
.mp-project[role="button"]:focus-visible { outline: 2px solid var(--mp-bronze-text); outline-offset: 4px; }
.mp-photos, .mp-project .elementor-widget-html:has(.mp-photos) { display: none !important; }
body.elementor-editor-active .mp-project .elementor-widget-html:has(.mp-photos) { display: block !important; }

/* Photo viewer (opened by clicking a project tile) */
.mp-lightbox {
  width: min(92vw, 1120px); max-height: 92vh; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: visible;
}
.mp-lightbox::backdrop { background: rgba(16, 19, 26, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mp-lightbox[open] { animation: mp-pop-in 0.45s var(--mp-ease) both; }
.mp-lightbox figure { margin: 0; }
.mp-lightbox img { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.mp-lightbox figcaption { padding: 14px 4px 0; text-align: center; font-size: 15px; }
.mp-lightbox figcaption strong { display: block; font-family: var(--mp-serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.mp-lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--mp-text); font-size: 20px; line-height: 1;
  transition: transform 0.3s var(--mp-ease), background-color 0.25s;
}
.mp-lightbox__btn:hover, .mp-lightbox__btn:focus { transform: scale(1.08); background: var(--mp-bg-alt); color: var(--mp-text); }
.mp-lightbox__close { top: -24px; right: -16px; }
.mp-lightbox__prev, .mp-lightbox__next { top: calc(50% - 56px); }
.mp-lightbox__prev { left: -24px; }
.mp-lightbox__next { right: -24px; }
@media (max-width: 700px) {
  .mp-lightbox__close { top: -56px; right: 0; }
  .mp-lightbox__prev { left: 8px; }
  .mp-lightbox__next { right: 8px; }
}

/* ---------- Numbered steps ---------- */
.mp-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: mp-step; }
.mp-steps ol > li {
  counter-increment: mp-step;
  position: relative; padding: 0 0 22px 52px; margin: 0 0 22px;
  border-bottom: 1px solid var(--mp-rule);
  color: var(--mp-muted);
}
.mp-steps ol > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.mp-steps ol > li::before {
  content: counter(mp-step, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--mp-serif); font-size: 20px; color: var(--mp-bronze-text);
}
.mp-steps ol > li > strong {
  display: block; font-family: var(--mp-serif); font-weight: 500;
  font-size: 23px; line-height: 1.3; color: var(--mp-text); margin-bottom: 4px;
}
/* "What guests love" list in the Stay with us section (class mp-loves on a text widget) */
.mp-loves ul { list-style: none; margin: 0; padding: 18px 0; border-top: 1px solid var(--mp-rule); border-bottom: 1px solid var(--mp-rule); display: grid; gap: 8px; }
.mp-loves li { position: relative; padding-left: 22px; font-family: var(--mp-serif); font-size: 22px; line-height: 1.4; color: var(--mp-text); }
.mp-loves li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--mp-bronze); }
/* Contact: "Staying with us?" line, separated from other enquiries */
.mp-contact-stay p { max-width: 480px; margin: 0 auto 24px; padding-bottom: 24px; border-bottom: 1px solid var(--mp-rule); }
.mp-contact-stay strong, .mp-glass strong { font-weight: 500; }

/* Bullet points inside a step (e.g. "What guests love") */
.mp-steps ul { list-style: none; margin: 0; padding: 0; }
.mp-steps ul li { position: relative; padding-left: 18px; margin: 0; color: var(--mp-muted); }
.mp-steps ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--mp-bronze); }

/* ---------- Rounded buttons with a round icon ---------- */
.mp-btn .elementor-button {
  transition: transform 0.35s var(--mp-ease), box-shadow 0.35s var(--mp-ease), background-color 0.25s, color 0.25s;
}
.mp-btn .elementor-button:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow); }
.mp-btn .elementor-button-content-wrapper { align-items: center; }
.mp-btn .elementor-button-icon {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 14px;
  background: var(--mp-icon-bg, #fff); color: var(--mp-icon-fg, var(--mp-text));
  transition: transform 0.35s var(--mp-ease);
}
.mp-btn .elementor-button-icon i { color: var(--mp-icon-fg, var(--mp-text)); }
.mp-btn .elementor-button-icon svg { width: 14px; height: 14px; fill: var(--mp-icon-fg, var(--mp-text)); }
.mp-btn .elementor-button:hover .elementor-button-icon { transform: translateX(4px) rotate(-8deg); }
/* Elementor 4 no longer loads the Font Awesome font for <i> icons, so the four
   icons the templates use are drawn here as masked SVGs in the icon colour. */
.mp-btn .elementor-button-icon i.fa-arrow-up-right-from-square,
.mp-btn .elementor-button-icon i.fa-arrow-right,
.mp-btn .elementor-button-icon i.fa-phone,
.mp-btn .elementor-button-icon i.fa-envelope {
  display: block; width: 16px; height: 16px;
  background-color: var(--mp-icon-fg, var(--mp-text));
  -webkit-mask: var(--mp-icon) center / contain no-repeat; mask: var(--mp-icon) center / contain no-repeat;
}
.mp-btn .elementor-button-icon i.fa-arrow-up-right-from-square::before,
.mp-btn .elementor-button-icon i.fa-arrow-right::before,
.mp-btn .elementor-button-icon i.fa-phone::before,
.mp-btn .elementor-button-icon i.fa-envelope::before { content: none; }
.mp-btn i.fa-arrow-up-right-from-square { --mp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.mp-btn i.fa-arrow-right { --mp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.mp-btn i.fa-phone { --mp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.mp-btn i.fa-envelope { --mp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4zM4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.mp-btn--dark  { --mp-icon-bg: #fff; --mp-icon-fg: var(--mp-text); }
.mp-btn--light { --mp-icon-bg: var(--mp-text); --mp-icon-fg: #fff; }
.mp-btn--ghost { --mp-icon-bg: #fff; --mp-icon-fg: var(--mp-text); }
.mp-btn--ghost .elementor-button { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mp-btn--outline { --mp-icon-bg: var(--mp-bg-alt); --mp-icon-fg: var(--mp-text); }

/* Fallback content area for pages not built with Elementor */
.mp-content { max-width: 760px; margin: 0 auto; padding: 64px 16px; }

/* ---------- Page not found (404.php) ---------- */
.mp-404 { max-width: 640px; margin: 0 auto; padding: clamp(72px, 12vw, 128px) 16px; text-align: center; }
.mp-404__label { margin: 0 0 16px; font-size: 13px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mp-bronze-text); }
.mp-404 h1 { font-family: var(--mp-serif); font-weight: 500; font-size: clamp(40px, 6vw, 60px); line-height: 1.15; margin: 0 0 20px; color: var(--mp-text); }
.mp-404 p { color: var(--mp-muted); }
.mp-404__links { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; justify-items: center; }
.mp-404__links a.mp-more { min-height: 44px; }

/* ---------- Footer ---------- */
.mp-footer {
  border-top: 1px solid var(--mp-rule);
  padding: 48px 16px; text-align: center;
  font-size: 14px; color: var(--mp-muted);
}
.mp-footer p { margin: 0; }
.mp-footer .mp-wordmark { display: inline-block; font-size: 22px; margin-bottom: 8px; }
.mp-footer .mp-company-reg { margin-top: 6px; font-size: 13px; }
.mp-footer-menu { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }

/* ---------- Keyframes ---------- */
@keyframes mp-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mp-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(0.95); } }
@keyframes mp-marquee { to { transform: translateX(-50%); } }
@keyframes mp-pop-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes mp-drop { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes mp-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 156, 107, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(63, 156, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 156, 107, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .elementor-invisible { visibility: visible !important; opacity: 1 !important; }
}
