/* ==========================================================================
   Incrocio Wellbeing — site styles
   Source of truth for every value: DESIGN.md (measured from the Divi build).
   ========================================================================== */

:root {
  --green: #002314;
  --green-mid: #014421;
  --cream: #f4f2e4;
  --off-white: #fdfdf8;
  --gold: #c9a056;
  --gold-hover: #af8c4b;
  --gold-tint-20: rgba(201, 160, 86, 0.20);
  --gold-tint-30: rgba(201, 160, 86, 0.30);
  --sand: #ece2c8;
  --header-bg: rgba(234, 228, 201, 0.5);
  --ink: #000000;
  --link-gold: #b7924e;
  --nav-current: #a38246;
  --placeholder: #999999;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: Lato, Helvetica, Arial, Lucida, sans-serif;

  --r-hero: 50px;
  --r-card: 40px;
  --r-panel: 30px;
  --r-faq: 25px;
  --r-btn: 12px;
  --r-field: 13px;

  --container: 1280px;
  --container-narrow: 1080px;
  --container-copy: 821px;
  --container-split: 1008px;
  --gutter: 80px;
  --col-gap: 70px;
  --col-gap-3: 38px;
  --section-pad: 80px;
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
figure, blockquote { margin: 0; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- type ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; color: var(--green); }
h1 { font-size: 62px; line-height: 1.2; color: var(--cream); padding-bottom: 10px; }
h2 { font-size: 39px; line-height: 1.25; padding-bottom: 10px; }
h3 { font-size: 31px; line-height: 1.24; padding-bottom: 10px; }
h4 { font-size: 22px; line-height: 1; padding-bottom: 10px; }
h5 { font-size: 24px; line-height: 1.35; padding-bottom: 10px; }
.section--green h2 { color: #ffffff; }
.centered { text-align: center; }
p { font-size: 17px; line-height: 1.5; }
p + p { margin-top: 0; }
.lede, .lede p { font-size: 20px; line-height: 1.5; color: var(--cream); }
.rich p { padding-bottom: 1em; }
.rich p:last-child { padding-bottom: 0; }
.rich ul, .rich ol { padding-left: 17px; padding-bottom: 17px; line-height: 26px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { font-size: 17px; line-height: 26px; }
strong, b { font-weight: 700; }

/* --- layout -------------------------------------------------------------- */
.section { padding: var(--section-pad) 0; }
.section--green { background: var(--green); }
.section--cream { background: var(--cream); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.container--narrow { max-width: var(--container-narrow); }
.container--copy { max-width: var(--container-copy); }
.container--split { max-width: var(--container-split); }
@media (max-width: 1439px) {
  .container { max-width: calc(100% - 2 * var(--gutter)); }
  .container--narrow { max-width: min(var(--container-narrow), calc(100% - 2 * var(--gutter))); }
  .container--copy { max-width: min(var(--container-copy), calc(100% - 2 * var(--gutter))); }
  .container--split { max-width: min(var(--container-split), calc(100% - 2 * var(--gutter))); }
}
/* Above 980px, Divi sizes these rows as a share of the viewport with a 1280px cap
   (821 and 1008 were only their 1440px results). See DESIGN.md "Wide screens". */
@media (min-width: 981px) {
  .container--copy { width: 57%; max-width: var(--container); }
  .container--split { width: 70%; max-width: var(--container); }
}
@media (max-width: 980px) {
  :root { --gutter: 5vw; --section-pad: 50px; }
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--off-white);
  background: var(--gold);
  border: 0;
  border-radius: var(--r-btn);
  padding: 13px 35px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
}
.btn:hover, .btn:focus-visible { background: var(--gold-hover); color: var(--off-white); }
.btn-row { text-align: center; padding: 37px 0 30px; }
.btn-row--programmes { padding-top: 67px; }
@media (max-width: 767px) {
  .btn { padding-left: 30px; padding-right: 30px; }
  .btn--phone-center { display: table; margin-left: auto; margin-right: auto; }
}

/* --- divider ------------------------------------------------------------- */
/* Divi divider module: a 23px-tall block with the 1px line at its top edge */
.divider {
  border: 0;
  border-top: 1px solid var(--gold);
  height: 23px;
  margin: 20px 0 10px;
  width: 100%;
}
.hero .divider { margin: 30px 0 12px; }
.process .divider, .testimonials .divider { margin-bottom: 20px; }
h2 + .divider { margin-top: 20px; }
.divider--green { border-top-color: var(--green); }

/* --- header -------------------------------------------------------------- */
.site-header { background: var(--header-bg); position: relative; z-index: 50; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 87px;
  padding: 15px 20px;
  max-width: 1440px; /* live caps the header row at 1400px of content, so wide screens get extra side space */
  margin: 0 auto;
}
.site-header__logo img { width: 230px; height: auto; }
.site-nav__list { display: flex; align-items: center; }
.site-nav__list li a {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  padding: 12px 20px;
}
.site-nav__list li.is-current:not(.site-nav__cta) a { color: var(--nav-current); }
.site-nav__list li.site-nav__cta a {
  background: var(--gold);
  color: #ffffff;
  line-height: normal;
  border-radius: var(--r-btn);
  padding: 18px 30px;
  margin-left: 20px;
  transition: background-color 0.25s;
}
.site-nav__list li.site-nav__cta a:hover { background: var(--gold-hover); }
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 2px solid var(--green-mid);
  border-radius: 40px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
}
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle__icon { top: 50%; margin-top: -1px; }
.menu-toggle__icon::before { content: ""; top: -8px; }
.menu-toggle__icon::after { content: ""; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateX(-50%) rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateX(-50%) rotate(-45deg); top: 0; }
.mobile-menu {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 81px; /* tucks 15px under the header, as on live */
  background: var(--cream);
  border-top: 3px solid var(--gold);
  border-radius: 30px;
  padding: 15px;
  min-width: 240px;
  z-index: 60;
  box-shadow: 0 10px 30px rgba(0, 35, 20, 0.12);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li { margin: 5px 0; }
.mobile-menu__list li + li { margin-top: 10px; }
.mobile-menu__list a {
  display: block;
  font-size: 18px;
  line-height: 36px;
  color: var(--green);
  background: var(--off-white);
  border-radius: 19px;
  padding: 10px 20px;
}
.mobile-menu__list li.is-current a { background: var(--green); color: var(--gold); }
@media (max-width: 980px) {
  .site-header__inner { min-height: 96px; padding: 19px 20px; }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
}

/* --- hero ------------------------------------------------------------------ */
.hero__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); align-items: stretch; }
.hero__copy { padding: 60px 0; }
.hero__copy--home { padding: 40px 0; }
.hero__copy:not(.hero__copy--home) .lede { padding-bottom: 10px; }
.hero__copy .btn { margin-top: 45px; }
.hero__image {
  border-radius: var(--r-hero);
  background-image: var(--hero-img);
  background-size: cover;
  background-position: 50% 50%;
  min-height: 539px;
}
.hero__image--top { background-position: 50% 0%; }
.hero--single { padding: 54px 0 46px; }
.hero__copy--single { padding: 60px 0; }
.hero__copy--single .lede { padding-top: 0; }
@media (max-width: 980px) {
  .hero { padding: 30px 0 80px; }
  .hero__row { grid-template-columns: 1fr; row-gap: 30px; }
  .hero__copy, .hero__copy--home { padding: 50px 0 0; }
  .hero__image { min-height: 300px; height: 300px; border-radius: var(--r-card); }
  .hero__image--swap { background-image: var(--hero-img-mobile, var(--hero-img)); }
  .hero__copy--single { padding: 30px 0 0; }
  .hero__copy .btn { margin-top: 40px; margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .hero--single { padding: 30px 0; }
  .hero__copy--single { padding: 50px 30px; }
}
/* the live Privacy hero has an empty paragraph between its two lines */
.page-privacy-policy .hero .lede p + p { padding-top: 20px; }

/* --- panels ------------------------------------------------------------- */
.panel { border-radius: var(--r-card); padding: 50px; }
.panel--tint { background: var(--gold-tint-20); }
.panel--outline { border: 1px solid var(--green); padding: 40px 50px 30px; }
@media (max-width: 767px) { .panel, .panel--outline { padding: 30px; } }

/* --- problem (home) ------------------------------------------------------ */
.problem { padding-bottom: 60px; }
.problem .panel { display: grid; grid-template-columns: 38.22% 1fr; column-gap: 35px; align-items: start; }
.problem__heading h2 { font-size: 34px; line-height: 1.25; }
.problem__heading h2 { max-width: 90%; }
.problem__list { display: grid; grid-template-columns: repeat(2, 46%); column-gap: 3%; row-gap: 14px; padding-bottom: 13px; }
@media (max-width: 980px) {
  .problem .panel { grid-template-columns: 1fr; row-gap: 30px; }
  .problem__list { grid-template-columns: 1fr; }
  .problem__heading h2 { font-size: 30px; max-width: none; }
}

/* --- blurbs (icon + text, image + text) ---------------------------------- */
.blurb { display: flex; align-items: flex-start; }
.blurb--icon { margin-bottom: 0; }
.blurb__icon { flex: 0 0 32px; width: 32px; margin-right: 15px; color: var(--gold); line-height: 0; }
.blurb__icon svg { width: 25px; height: 25px; margin-top: -2px; }
.blurb--icon p { font-size: 16px; line-height: 1.4; max-width: 550px; }
.blurb__image { flex: 0 0 60px; width: 60px; margin-right: 15px; }
.blurb--step { margin-bottom: 40px; }
.blurb--step h4 { color: var(--cream); }
.blurb--step p { font-size: 16px; line-height: 23.8px; color: var(--off-white); }
.blurb--step > div { padding-bottom: 10px; }
.blurb--quote { margin-bottom: 30px; padding-right: 30px; }
.blurb--quote .blurb__image { width: 60px; height: auto; }
.blurb--quote p { font-size: 16px; line-height: 23.8px; color: var(--off-white); padding-bottom: 16px; }
.blurb--quote h4 { font-size: 18px; color: var(--cream); margin-top: 24px; }

/* --- cards (pillars, programmes) ----------------------------------------- */
.pillars { padding: 0 0 60px; }
.pillars .container--copy { padding: 27px 0; }
.pillars .closing-row { padding: 35px 0 0; }
.container--pillars { max-width: min(778px, calc(100% - 2 * var(--gutter))); }
@media (min-width: 981px) {
  .container--pillars { width: 54%; max-width: var(--container); }
  .card-grid--2 { column-gap: 3%; }
}
.card-grid { display: grid; }
.card-grid--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); column-gap: var(--col-gap-3); row-gap: 30px; }
.card {
  border: 1px solid var(--green);
  border-radius: var(--r-card);
  overflow: hidden;
  padding-bottom: 30px;
  background: transparent;
}
.card__image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.card__body { margin-top: 40px; padding: 0 33px; }
.card__body h3 { margin-bottom: 10px; }
.card--programme .card__body { padding: 0 30px; }
.card__body p { font-size: 17px; line-height: 1.5; }
.closing { font-size: 20px; line-height: 1.5; text-align: center; max-width: min(706px, 78.3vw); margin: 0 auto; }
@media (min-width: 981px) { .closing { max-width: 86%; } }
.programmes { padding: 54px 0 60px; }
.programmes > .container:first-child { padding: 27px 0; }
.programmes h2 + .divider { margin-bottom: 0; }
@media (max-width: 980px) {
  .card-grid--3 { grid-template-columns: 1fr; }
  .card { border-radius: 30px; }
  .card__body { padding: 0 33px; }
}
@media (max-width: 767px) {
  .card-grid--2 { grid-template-columns: 1fr; row-gap: 30px; }
  .card-grid--2 .card:nth-child(2) { margin-bottom: -8px; } /* Divi: 30px between stacked columns, 22px between rows */
}

/* --- process (home) ------------------------------------------------------ */
.process__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; padding: 27px 0; }
.process__image { border-radius: var(--r-card); background: var(--bg) center / cover no-repeat; min-height: 400px; }
.process__copy .btn { margin-top: 0; }
@media (max-width: 980px) {
  .process__row { grid-template-columns: 1fr; row-gap: 30px; }
  .process__image { min-height: 420px; }
}
@media (max-width: 767px) {
  .process__row { padding: 30px 0; row-gap: 50px; }
  .process__image { min-height: 300px; }
  .pillars { padding-bottom: 30px; }
  .pillars .btn-row { padding-top: 50px; }
  .programmes { padding: 30px 0; }
  .programmes > .container:first-child { padding: 30px 0; }
  .btn-row--programmes { padding-top: 50px; }
}

/* --- about split (home) -------------------------------------------------- */
.about-split { padding: 0 0 120px; }
.about-split__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
.about-split__copy .btn { margin-top: 40px; }
.about-split__image { border-radius: var(--r-card); background: var(--bg) 50% 20% / cover no-repeat; min-height: 477px; }
@media (max-width: 980px) {
  .about-split { padding-bottom: 80px; }
  .about-split__row { grid-template-columns: 1fr; row-gap: 30px; }
  .about-split__image { min-height: 400px; order: -1; background-position: 0 0; }
}
@media (max-width: 767px) {
  .about-split { padding: 30px 0 90px; }
  .about-split__row { row-gap: 40px; }
  .about-split__image { min-height: 300px; }
}

/* --- testimonials (home) ------------------------------------------------- */
.testimonials { padding: 60px 0 0; }
/* The slide-in and flip reveals start off to the side; clip them so phones never scroll sideways before they animate in */
.process, .testimonials { overflow-x: hidden; }
@supports (overflow-x: clip) { .process, .testimonials { overflow-x: clip; } }
.testimonials__row { display: grid; grid-template-columns: 1fr 57.8%; column-gap: 5.5%; width: 95%; max-width: 1440px; margin: 0 auto; padding: 27px 0 0; align-items: start; }
.testimonials__photo { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-top: -145px; }
.testimonials__photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; }
.testimonials__copy { padding-bottom: 68px; }
.testimonials__copy .btn { margin-top: 0; }
/* Live pins the button 190px above the bottom of the photo column, so once the photo
   outgrows 502px (rows wider than 1368px) the button drops with it. */
@media (min-width: 981px) {
  .testimonials__copy { display: grid; grid-template-rows: auto auto auto 1fr; min-height: calc(min(95vw, 1440px) * 0.367 - 67px); }
  .testimonials__copy .btn { align-self: end; justify-self: end; margin-top: 30px; } /* Adam, 22 Oct: flush right, in line with the end of the gold rule, at least 30px below the quotes */
}
@media (max-width: 980px) {
  .testimonials { padding: 0 0 77px; }
  .testimonials__row { grid-template-columns: 1fr; width: 100%; max-width: none; padding: 0 var(--gutter); row-gap: 30px; }
  .testimonials__photo { width: 40%; max-width: none; margin: -30px 0 0; }
  .testimonials__copy { padding-bottom: 0; }
  .testimonials__grid .blurb--quote:last-child { margin-bottom: 0; }
  .testimonials__grid { grid-template-columns: 1fr; row-gap: 6px; }
}

/* --- services: comparison table wrapper ----------------------------------- */
.compare { padding: 87px 0; overflow-x: hidden; } /* closed tooltips must not widen the page on phones */
@supports (overflow-x: clip) { .compare { overflow-x: clip; } }
@media (max-width: 980px) { .compare { padding: 60px 0; } }

/* --- services: FAQ --------------------------------------------------------- */
.faq { padding: 0 0 89px; }
.faq__head { padding: 27px 0; }
.faq__heading { font-size: 49px; line-height: 1.2; padding: 0 0 10px; }
.faq__head .divider { margin-bottom: 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap-3); row-gap: 29px; }
.faq__item { border: 1px solid var(--green); border-radius: var(--r-faq); padding: 20px 20px 20px 35px; }
.faq__item h4, .faq__item p { color: var(--green); max-width: 535px; }
.faq__item h4 { margin-bottom: 10px; }
.faq__item p { font-size: 16px; line-height: 23.8px; }
@media (max-width: 980px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq { padding: 30px 0 71px; }
  .faq__head { padding: 30px 0; }
  .faq__grid { row-gap: 40px; }
  .faq__heading { font-size: 42px; }
}

/* --- CTA card (services, about) ------------------------------------------ */
.cta__card {
  max-width: 576px;
  margin: 0 auto;
  background: var(--sand);
  border-radius: var(--r-card);
  padding: 40px 50px 50px;
  text-align: center;
}
.cta__card h2 { font-size: 41px; line-height: 1.25; color: var(--green); margin: 0 5%; }
.cta__card .btn { margin-top: 20px; }
.cta__card--long .rich { text-align: left; padding-top: 20px; }
.cta__card--long .rich p, .cta__card--long .rich li { color: var(--green); }
.cta__card--long .rich ol { padding-left: 0; list-style-position: inside; }
.cta__card--long .btn { margin-top: 40px; }
@media (min-width: 981px) { .cta__card { width: 40%; max-width: none; } } /* live: 40% of the viewport, uncapped (576 at 1440, 691 at 1728, 1024 at 2560) */
@media (max-width: 980px) {
  .cta__card { max-width: calc(100% - 2 * var(--gutter)); padding: 30px 30px 40px; }
  .cta__card h2 { font-size: 30px; margin: 0; }
}

/* --- about: who / splits --------------------------------------------------- */
.who__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; align-items: start; }
.who__copy h2 { margin-bottom: 10px; max-width: 90%; font-size: 39px; }
.who__copy p { color: var(--green); }
.who__list { display: grid; row-gap: 14px; padding-bottom: 14px; }
.who__list .blurb--icon p { color: var(--ink); }
.split { padding: 0 0 80px; }
.split__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
@media (min-width: 981px) {
  /* live: 75% of the viewport capped at 1280 (1080 at 1440, 1280 from 1707 up) */
  .who__row, .split__row { width: 75%; max-width: var(--container); }
  /* live: the photo column simply matches the copy column's height (494 was only the 1440 result) */
  .split__image { min-height: 0; }
}
.split__image { border-radius: var(--r-card); background: var(--bg) center / cover no-repeat; min-height: 494px; }
.split__copy p, .split__copy li { color: var(--green); }
@media (max-width: 980px) {
  .who__row, .split__row { grid-template-columns: 1fr; row-gap: 20px; }
  .split__image { min-height: 360px; order: -1; }
  .split { padding-bottom: 50px; }
}
@media (max-width: 767px) {
  .page-about .hero__image { height: 323px; min-height: 323px; }
  .who .panel--outline { padding-bottom: 20px; }
  .who__row { row-gap: 30px; }
  .who__copy h2 { max-width: none; }
  .split__image { min-height: 300px; }
  .split--image-left .split__image { background-position: 50% 70%; }
  .split--image-left .split__row { row-gap: 35px; }
  .split--image-left { padding-bottom: 63px; }
  .cta__card--long .btn { margin-top: 30px; }
  .split:not(.split--image-left) .split__row { row-gap: 40px; }
  .split:not(.split--image-left) { padding-bottom: 59px; }
}

/* --- booking --------------------------------------------------------------- */
.booking__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); align-items: start; }
.booking__copy { padding-top: 5px; }
.booking__panel { background: var(--gold-tint-30); border-radius: var(--r-panel); padding: 30px; }
.booking-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 16px; }
.booking-form__field { margin: 0; }
.booking-form__field input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--off-white);
  border: 1px solid var(--gold);
  border-radius: var(--r-field);
  padding: 16px;
  line-height: normal;
  outline: none;
}
.booking-form__field input::placeholder { color: var(--placeholder); }
.booking-form__field input:focus { border-color: var(--green); }
.booking-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.booking-form__actions { text-align: right; padding-top: 17px; }
.booking-form__status { font-size: 15px; line-height: 1.5; color: var(--green); padding-top: 12px; text-align: right; }
.booking-form__status:empty { display: none; }
.booking-form__status.is-error { color: #8a1f11; }
@media (max-width: 980px) { .booking__row { grid-template-columns: 1fr; row-gap: 30px; } }
@media (max-width: 767px) {
  .booking-form__grid { grid-template-columns: 1fr; row-gap: 8.6px; }
  .booking-form__actions { text-align: center; padding-top: 14px; }
  .booking__row { row-gap: 80px; }
  .booking__copy { padding-top: 0; }
  .booking-form__actions .btn { display: block; width: calc(100% - 9px); margin-left: 9px; padding-left: 35px; padding-right: 35px; }
}

/* --- privacy --------------------------------------------------------------- */
.policy { padding: 80px 0 60px; }
.rich--policy { max-width: 90%; }
.rich--policy p, .rich--policy li { font-size: 17px; line-height: 1.5; }
.rich--policy a { color: #d4af37; } /* Divi's default link colour on the live page */
@media (max-width: 767px) {
  .policy__panel { padding: 50px; }
  .rich--policy { max-width: none; }
  .rich--policy p, .rich--policy li { font-size: 16px; line-height: 24px; }
}

/* --- footer ---------------------------------------------------------------- */
.site-footer__top { background: var(--off-white); padding: 87px 20px 87px; text-align: center; }
.site-footer__logo { display: block; width: 200px; margin: 0 auto; }
.site-footer__logo img { width: 200px; height: auto; margin: 0 auto; }
.footer-nav { padding-top: 30px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-nav li { padding: 0 11px; margin-top: 8px; line-height: 14px; }
.footer-nav a { display: inline-block; font-size: 16px; line-height: 14px; color: var(--green); padding: 0 0 8px; }
.footer-nav li.is-current a { color: var(--gold); }
.site-footer__bottom { background: var(--cream); padding: 27px 20px; text-align: center; }
.site-footer__bottom p { font-size: 14px; line-height: 21px; }
.site-footer__copyright { color: var(--green); padding-bottom: 10px; }
.site-footer__credit { color: var(--ink); }
.site-footer__credit a { color: var(--link-gold); font-weight: 700; }
@media (max-width: 980px) {
  .site-footer__top { padding: 60px 20px; }
  .footer-nav ul { flex-direction: column; width: max-content; margin: 0 auto; }
  .footer-nav li { margin: 8px 0 10px; }
  .site-footer__bottom { padding: 30px 20px; }
}

/* --- cookie consent --------------------------------------------------------- */
/* Footer link that reopens the banner (shown by site.js; hidden without JS, when no tag can load) */
.site-footer__cookies { padding-top: 10px; }
.site-footer__cookies button { font: inherit; font-size: 14px; line-height: 21px; color: var(--green); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.site-footer__cookies button:hover { color: var(--link-gold); }
/* Banner: a forest-green panel with a gold edge (like the table tooltips), bottom left; Accept and Reject are the same button so neither is nudged */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 100; width: min(520px, calc(100% - 40px)); background: var(--green); color: var(--cream); border: 1px solid var(--gold); border-radius: var(--r-panel); padding: 24px 28px; box-shadow: 0 10px 30px rgba(0, 35, 20, 0.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { font-size: 15px; line-height: 1.5; color: var(--cream); }
.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie-banner__actions { display: flex; gap: 12px; margin-top: 18px; }
.cookie-banner__btn { flex: 1 1 0; padding: 10px 20px 12px; }
.cookie-banner__btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
@media (max-width: 767px) {
  .cookie-banner { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 20px; }
  .cookie-banner__text { font-size: 14px; }
}

/* --- scroll reveal (Divi entrance animations) ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transition: opacity 1s ease-in-out, transform 1s ease-in-out; }
  .reveal--slide { transform: translateX(25%); }
  .reveal--flip { transform: perspective(1200px) rotateY(50deg); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* --- responsive type ------------------------------------------------------- */
@media (max-width: 980px) {
  h1 { font-size: 42px; }
  h2 { font-size: 33px; }
  .cta__card h2, .problem__heading h2 { font-size: 30px; }
}
@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .cta__card h2, .problem__heading h2 { font-size: 30px; }
  .faq__heading { font-size: 36px; }
}

/* ==========================================================================
   Services comparison table (ported verbatim from the Divi code module)
   ========================================================================== */

  .inc-cmp{font-family:Lato,Helvetica,Arial,Lucida,sans-serif;color:#002314;max-width:1128px;margin:0 auto;padding:0 24px}
  .inc-cmp *{box-sizing:border-box}

  /* Plain wrapper: sits directly on the section's cream background */
  .inc-cmp-panel{padding:0}

  /* Heading block */
  .inc-cmp-head{max-width:720px;margin-bottom:36px}
  .inc-cmp-head h2{font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-weight:700;font-size:39px;line-height:1.25;color:#002314;margin:0 0 12px;padding:0}
  .inc-cmp-head p{font-family:Lato,Helvetica,Arial,Lucida,sans-serif;font-style:italic;font-size:17px;line-height:1.5;color:#002314;margin:0;padding:0}

  /* ---------- Desktop table ---------- */
  /* No outer border and no fill behind the card: each cell paints itself, so the
     rounded corners reveal the cream section instead of a white patch. */
  .inc-cmp-wrap{border-radius:25px;background:transparent}
  .inc-cmp-table thead th:first-child{border-top-left-radius:25px}
  .inc-cmp-table thead th:last-child{border-top-right-radius:25px}
  .inc-cmp-table tbody tr:last-child td:first-child{border-bottom-left-radius:25px}
  .inc-cmp-table tbody tr:last-child td:last-child{border-bottom-right-radius:25px}
  .inc-cmp-table{width:100%;border-collapse:separate;border-spacing:0;border:0;background:transparent;table-layout:fixed}
  .inc-cmp-table th,.inc-cmp-table td{border-top:1px solid rgba(0,35,20,0.15);padding:18px 20px;vertical-align:middle;text-align:center;font-size:16px;line-height:1.45}
  /* On the live page Divi's theme table rules (.entry-content table, td, th) win over the module's own
     CSS. These reproduce what actually renders there: a 1px #eee frame, #eee row lines, 6px x 24px cells. */
  .inc-cmp-table{border:1px solid #eee;margin:0 0 15px;text-align:left}
  .inc-cmp-table tbody td{border-top-color:#eee;padding:6px 24px}
  .inc-cmp-table thead th:not(.inc-cmp-first):not(.inc-cmp-hi){color:#555}
  .inc-cmp-table thead th{border-top:0;padding:34px 20px 26px;vertical-align:top;background:rgba(201,160,86,0.2)}
  .inc-cmp-table th.inc-cmp-first,.inc-cmp-table td.inc-cmp-first{text-align:left;width:26%;padding-left:28px}
  .inc-cmp-table thead th.inc-cmp-first{vertical-align:bottom;font-style:italic;font-size:15px;color:rgba(0,35,20,0.7)}
  .inc-cmp-table tbody tr:nth-child(even) td{background:rgba(201,160,86,0.2)}
  .inc-cmp-table tbody tr:nth-child(odd) td{background:#FDFDF8}

  .inc-cmp-level{display:block;font-style:italic;font-size:15px;line-height:1.3;color:rgba(0,35,20,0.7);margin-bottom:8px}
  .inc-cmp-name{display:block;font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-weight:700;font-size:22px;line-height:1.2;color:#002314;margin-bottom:8px}
  .inc-cmp-tag{display:block;font-style:italic;font-weight:400;font-size:15px;line-height:1.4;color:rgba(0,35,20,0.75)}

  /* Highlighted middle tier */
  .inc-cmp-table th.inc-cmp-hi,.inc-cmp-table td.inc-cmp-hi{background:#002314 !important;color:#F4F2E4;border-top-color:rgba(244,242,228,0.12)}
  .inc-cmp-table th.inc-cmp-hi{position:relative;padding-top:48px}
  .inc-cmp-table th.inc-cmp-hi .inc-cmp-level,.inc-cmp-table th.inc-cmp-hi .inc-cmp-tag{color:rgba(244,242,228,0.8)}
  .inc-cmp-table th.inc-cmp-hi .inc-cmp-name{color:#F4F2E4}
  .inc-cmp-badge{position:absolute;top:0;left:50%;transform:translateX(-50%);background:#C9A056;color:#FDFDF8;font-weight:700;font-style:normal;font-size:14px;line-height:1;padding:9px 18px;border-radius:0 0 12px 12px;white-space:nowrap}

  /* Cell values */
  .inc-cmp-freq{font-style:italic;color:rgba(0,35,20,0.85)}
  .inc-cmp-hi .inc-cmp-freq{color:rgba(244,242,228,0.9)}
  .inc-cmp-check{display:inline-block;width:20px;height:20px;vertical-align:middle}
  .inc-cmp-check path{fill:none;stroke:#002314;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
  .inc-cmp-hi .inc-cmp-check path{stroke:#C9A056}
  .inc-cmp-no{display:inline-block;width:14px;height:1px;background:rgba(0,35,20,0.25);vertical-align:middle}
  .inc-cmp-hi .inc-cmp-no{background:rgba(244,242,228,0.3)}

  /* ---------- Mobile cards (hidden on desktop) ---------- */
  .inc-cmp-cards{display:none}
  .inc-cmp-card{border:0;border-radius:25px;background:#FDFDF8;padding:0 0 28px;margin-bottom:20px;position:relative}
  .inc-cmp-card.inc-cmp-hi{background:#002314;color:#F4F2E4}
  .inc-cmp-card.inc-cmp-hi .inc-cmp-name{color:#F4F2E4}
  .inc-cmp-card.inc-cmp-hi .inc-cmp-level,.inc-cmp-card.inc-cmp-hi .inc-cmp-tag{color:rgba(244,242,228,0.8)}
  .inc-cmp-card .inc-cmp-badge{border-radius:0 0 12px 12px;z-index:2}
  .inc-cmp-cardhead{background:rgba(201,160,86,0.2);padding:28px 24px 24px;border-radius:25px 25px 0 0}
  .inc-cmp-card.inc-cmp-hi .inc-cmp-cardhead{background:rgba(201,160,86,0.2);padding-top:44px}
  .inc-cmp-card ul{list-style:none;margin:0;padding:0 24px}
  .inc-cmp-card li:first-child{border-top:0;padding-top:18px}
  .inc-cmp-card li{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid rgba(0,35,20,0.15);font-size:16px;line-height:1.45}
  .inc-cmp-card.inc-cmp-hi li{border-top-color:rgba(244,242,228,0.12)}
  .inc-cmp-card li .inc-cmp-check{flex:0 0 20px;margin-top:2px}
  .inc-cmp-card.inc-cmp-hi .inc-cmp-check path{stroke:#C9A056}
  .inc-cmp-card li.inc-cmp-off{color:rgba(0,35,20,0.45)}
  .inc-cmp-card.inc-cmp-hi li.inc-cmp-off{color:rgba(244,242,228,0.45)}
  .inc-cmp-card li.inc-cmp-off .inc-cmp-no{flex:0 0 14px;margin-top:11px}
  .inc-cmp-card li .inc-cmp-freq{font-style:normal}
  .inc-cmp-card li .inc-cmp-freq em{font-style:italic}

  /* Info icons and tooltips: anchored to the icon, arrow on its centre, flips left when near the right edge */
  .inc-cmp-lbl{display:inline}
  .inc-cmp-nw{white-space:nowrap}
  .inc-cmp-anchor{position:relative;display:inline-block;vertical-align:-3px;line-height:0}
  .inc-cmp-info{display:block;width:18px;height:18px;margin-left:4px;padding:0;border:0;background:none;cursor:pointer;color:#C9A056;line-height:0}
  .inc-cmp-info svg{width:18px;height:18px;display:block}
  .inc-cmp-info svg circle{fill:none;stroke:currentColor;stroke-width:1.5}
  .inc-cmp-info svg path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .inc-cmp-info:hover,.inc-cmp-info:focus-visible{color:#B7924E;outline:none}
  .inc-cmp-tip{position:absolute;left:-12px;top:calc(100% + 10px);z-index:50;width:300px;background:#002314;color:#F4F2E4;border:1px solid #C9A056;border-radius:12px;padding:14px 16px;font-family:Lato,Helvetica,Arial,Lucida,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:1.5;text-align:left;white-space:normal;box-shadow:0 8px 24px rgba(0,35,20,0.18);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;pointer-events:none}
  .inc-cmp-tip{translate:var(--tip-shift,0px) 0}
  .inc-cmp-tip::before{content:"";position:absolute;left:calc(20px - var(--tip-shift,0px));top:-6px;width:10px;height:10px;background:#002314;border-left:1px solid #C9A056;border-top:1px solid #C9A056;transform:rotate(45deg)}
  .inc-cmp-anchor.inc-cmp-flip .inc-cmp-tip{left:auto;right:-12px}
  .inc-cmp-anchor.inc-cmp-flip .inc-cmp-tip::before{left:auto;right:calc(20px + var(--tip-shift,0px))}
  .inc-cmp-anchor:hover .inc-cmp-tip,.inc-cmp-info:focus-visible + .inc-cmp-tip,.inc-cmp-anchor.is-open .inc-cmp-tip{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s;pointer-events:auto}
  .inc-cmp-card li .inc-cmp-freq .inc-cmp-lbl{font-style:normal}

  /* CTA */
  .inc-cmp-cta{text-align:center;margin-top:36px}
  .inc-cmp-btn{display:inline-block;background:#C9A056;color:#FDFDF8 !important;font-family:Lato,Helvetica,Arial,Lucida,sans-serif;font-weight:700;font-size:16px;line-height:1.7;padding:13px 30px 15px;border-radius:12px;text-decoration:none !important;transition:background .2s ease}
  .inc-cmp-btn:hover{background:#B7924E}
  .inc-cmp-note{font-style:italic;font-size:15px;line-height:23.8px;color:rgba(0,35,20,0.7);margin:14px 0 0}

  /* ---------- Pre-launch waitlist ----------
     Takes the CTA's place until "We've launched" is switched on in Pages CMS.
     Mirrors the Book page: copy on the left, the booking panel and fields on the right. */
  .inc-cmp-waitlist{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--col-gap);align-items:start;margin-top:60px;scroll-margin-top:24px}
  .inc-cmp-waitlist__copy{padding-top:5px}
  .inc-cmp-waitlist__copy p{color:var(--green)}
  .inc-cmp-waitlist__copy p + p{margin-top:1em}
  .inc-cmp-consent{display:flex;align-items:flex-start;gap:12px;margin-top:17px;font-size:15px;line-height:1.5;color:var(--green)}
  /* Checkbox dressed like the form fields: off-white, gold border; gold with a white tick when checked */
  .inc-cmp-consent input{appearance:none;-webkit-appearance:none;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;background:var(--off-white) center/12px 12px no-repeat;border:1px solid var(--gold);border-radius:4px;cursor:pointer;outline:none}
  .inc-cmp-consent input:checked{background-color:var(--gold);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fdfdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  .inc-cmp-consent input:focus-visible{border-color:var(--green);box-shadow:0 0 0 2px rgba(0,35,20,0.15)}
  .inc-cmp-consent label{cursor:pointer}
  .inc-cmp-consent a{text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
  .inc-cmp-consent a:hover{color:var(--link-gold)}

  /* ---------- Responsive ---------- */
  @media (max-width:980px){
    .inc-cmp-head h2{font-size:32px}
    .inc-cmp-wrap{display:none}
    .inc-cmp-cards{display:block}
    .inc-cmp-waitlist{grid-template-columns:1fr;row-gap:30px;margin-top:40px}
    .inc-cmp-waitlist h3{font-size:28px}
  }
  @media (max-width:767px){
    .inc-cmp-waitlist .booking-form__actions .btn{width:100%;margin-left:0}
    .inc-cmp-waitlist .booking-form__status{text-align:center}
  }
  @media (max-width:480px){
    .inc-cmp{padding:0 20px}
    .inc-cmp-head h2{font-size:28px}
    .inc-cmp-tip{width:min(280px,calc(100vw - 40px))}
    .inc-cmp-cardhead{padding:24px 18px 20px}
    .inc-cmp-card.inc-cmp-hi .inc-cmp-cardhead{padding-top:42px}
    .inc-cmp-card ul{padding:0 18px}
    .inc-cmp-waitlist h3{font-size:24px}
  }
