/* ==========================================================================
   Partner page
   ========================================================================== */

/* Shared section headings (centered title + muted lead) */
.why__title,
.owners__title,
.faq__title,
.enquiry__title {
  margin-bottom: 1rem;
  text-align: center;
  font-size: var(--fs-2xl);
  line-height: 2rem;
  font-weight: 700;
}
.why__lead,
.owners__lead,
.faq__lead,
.enquiry__lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--c-muted);
}
@media (min-width: 768px) {
  .why__title,
  .owners__title,
  .faq__title,
  .enquiry__title {
    font-size: var(--fs-3xl);
    line-height: 2.25rem;
  }
}

/* ---------- Hero ---------- */
.p-hero {
  position: relative;
}
.p-hero__media {
  position: relative;
  height: 80vh;
  min-height: 500px;
}
.p-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
}
/* Mobile: the card sits in flow and is pulled up over the image */
.p-hero__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: -21rem;
  padding-inline: 1rem;
}
.p-hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 1rem;
  border-radius: var(--r-2xl);
  background: var(--c-white);
  color: var(--c-gray-900);
  box-shadow: var(--shadow-xl);
}
.p-hero__eyebrow {
  margin-bottom: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-500);
}
.p-hero__title {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-fg);
}
.p-hero__copy {
  max-width: 42rem;
  margin-inline: auto;
}
.p-hero__copy p {
  font-size: var(--fs-xs);
  line-height: 1.625;
  color: #294111;
}
.p-hero__copy p + p { margin-top: 0.5rem; }
.p-hero__strong { font-weight: 500; }
.p-hero__stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-top: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  background: #ddf0d4;
  font-size: var(--fs-xs);
  line-height: 1rem;
  color: #294111;
  text-align: center;
}
.p-hero__stats span:not([aria-hidden]) { font-weight: 500; }

@media (min-width: 768px) {
  .p-hero__media { height: 85vh; }
  /* Tablet up: card is centred on the image and shifted down so it overlaps the bottom edge */
  .p-hero__wrap {
    position: absolute;
    inset: 50% 0 auto;
    margin-top: 0;
    padding-inline: 1.5rem;
    transform: translateY(calc(-50% + 185px));
  }
  .p-hero__card {
    max-width: 56rem;
    padding: 1.5rem;
  }
  .p-hero__eyebrow {
    margin-bottom: 0.75rem;
    font-size: var(--fs-sm);
  }
  .p-hero__title {
    font-size: var(--fs-2xl);
    line-height: 40px;
  }
  .p-hero__copy p { font-size: var(--fs-sm); }
  .p-hero__copy p + p { margin-top: 0.75rem; }
  .p-hero__stats {
    gap: 0.25rem 0.75rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--fs-sm);
    line-height: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .p-hero__media { height: 90vh; }
  .p-hero__wrap { transform: translateY(calc(-50% + 200px)); }
  .p-hero__card {
    max-width: 64rem;
    padding: 2rem;
  }
  .p-hero__title { font-size: 32px; }
  .p-hero__copy p { font-size: var(--fs-base); }
  .p-hero__copy p + p { margin-top: 1rem; }
}
@media (min-width: 1280px) {
  .p-hero__copy p {
    font-size: var(--fs-lg);
    line-height: 1.625;
  }
}

/* ---------- Our Properties ---------- */
.portfolio {
  padding-block: 3rem;
}
.portfolio__head { margin-bottom: 2rem; }
.portfolio__title {
  margin-bottom: 0.5rem;
  font-size: var(--fs-3xl);
  line-height: 2.25rem;
  font-weight: 700;
}
.portfolio__lead { color: var(--c-muted); }
.portfolio__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}
.portfolio-card {
  position: relative;
  flex: 0 0 18rem;
  height: 24rem;
  overflow: hidden;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  background: var(--c-gray-300);
}
.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.4), transparent);
}
.portfolio-card__copy {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  padding: 1rem;
  color: var(--c-white);
}
.portfolio-card__name {
  font-size: var(--fs-xl);
  line-height: 1.75rem;
  font-weight: 700;
  text-wrap: balance;
}
.portfolio-card__location {
  margin-top: 0.25rem;
  font-size: var(--fs-sm);
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}
@media (min-width: 768px) {
  .portfolio {
    padding-top: 9rem;
    padding-bottom: 4rem;
  }
  .portfolio__title {
    font-size: var(--fs-4xl);
    line-height: 2.5rem;
  }
  .portfolio-card__name {
    font-size: var(--fs-2xl);
    line-height: 2rem;
  }
}

/* ---------- Why Bliss ---------- */
.why {
  padding-block: 3rem;
  background: #d9ed92;
}
.why__lead { color: rgb(10 10 10 / 0.7); }
.why__grid {
  display: grid;
  gap: 1.5rem 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
.why__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why__item h3 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.why__item p {
  font-size: var(--fs-sm);
  line-height: 1.625;
  color: rgb(10 10 10 / 0.7);
}
@media (min-width: 768px) {
  .why { padding-block: 4rem; }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Togetherness band ---------- */
.together {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
}
.together img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.together::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.2), transparent);
}
.together__title {
  position: relative;
  z-index: 1;
  padding-inline: 1rem;
  text-align: center;
  text-wrap: balance;
  font-size: var(--fs-3xl);
  line-height: 2.25rem;
  font-weight: 300;
  color: var(--c-white);
}
@media (min-width: 768px) {
  .together { height: 400px; }
  .together__title { font-size: var(--fs-4xl); line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .together { height: 500px; }
  .together__title { font-size: var(--fs-5xl); line-height: 1; }
}

/* ---------- How we deliver ---------- */
.deliver {
  padding-block: 3rem;
  background: var(--c-gray-50);
}
.deliver__head {
  margin-bottom: 3rem;
  text-align: center;
}
.deliver__title {
  margin-bottom: 0.75rem;
  font-size: var(--fs-3xl);
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--c-gray-900);
}
.deliver__lead {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--c-gray-600);
}
.deliver__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}
.service {
  display: flex;
  flex-direction: column;
  flex: 0 0 24rem;
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.service__img {
  width: 100%;
  height: 12rem;
  flex-shrink: 0;
  object-fit: cover;
}
.service__body {
  flex: 1;
  padding: 1.25rem;
}
.service__title {
  margin-bottom: 0.25rem;
  font-size: var(--fs-lg);
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--c-gray-900);
}
.service__text {
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
  line-height: 1.625;
  color: var(--c-gray-600);
}
.service__label {
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--c-gray-800);
}
.service__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  line-height: 1.25rem;
  color: var(--c-gray-700);
}
.service__list li + li { margin-top: 0.375rem; }
.service__list .icon { margin-top: 0.125rem; }
@media (min-width: 768px) {
  .deliver { padding-block: 5rem; }
  .deliver__head { margin-bottom: 4rem; }
  .deliver__title { font-size: var(--fs-4xl); line-height: 2.5rem; }
  .deliver__lead { font-size: var(--fs-lg); line-height: 1.75rem; }
  .service__body { padding: 1.5rem; }
  .service__title { font-size: var(--fs-xl); }
}

/* ---------- Partner testimonials ---------- */
.owners {
  padding-block: 3rem;
  background: var(--c-gray-50);
}
.owners__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin-inline: auto;
}
.owner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-2xl);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.owner-card blockquote {
  flex-grow: 1;
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.625;
  color: var(--c-gray-600);
}
.owner-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.owner-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-full);
  background: rgb(74 93 35 / 0.1);
  color: var(--c-olive);
}
.owner-card__author strong {
  display: block;
  font-weight: 600;
  color: var(--c-gray-900);
}
.owner-card__author small {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1rem;
  color: var(--c-gray-500);
}
.owners__cta {
  margin-top: 3rem;
  text-align: center;
}
.owners__btn {
  height: 2.25rem;
  padding-inline: 0.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
}
@media (min-width: 768px) {
  .owners { padding-block: 4rem; }
  .owners__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { padding-block: 3rem; }
.container.faq__inner { max-width: 72rem; }
.faq__box {
  padding: 1.5rem;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-2xl);
  background: var(--c-white);
}
.faq__item { border-bottom: 1px solid var(--c-gray-200); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-block: 1rem;
  text-align: left;
  transition: background-color 0.15s var(--ease);
}
.faq__q:hover { background: var(--c-gray-50); }
.faq__q span {
  font-weight: 500;
  color: var(--c-gray-900);
}
.faq__q .icon {
  color: var(--c-gray-500);
  transition: transform 0.15s var(--ease);
}
.faq__item.is-open .faq__q .icon { transform: rotate(90deg); }
.faq__a p {
  padding-bottom: 1rem;
  line-height: 1.625;
  color: var(--c-gray-600);
}
@media (min-width: 768px) {
  .faq { padding-block: 4rem; }
  .faq__box { padding: 2rem; }
}

/* ---------- Enquiry form ---------- */
.enquiry {
  padding-block: 3rem;
  background: #f5f5f5;
}
.container.enquiry__inner { max-width: 42rem; }
.enquiry__title { margin-bottom: 0.5rem; }
.enquiry__lead { margin-bottom: 2rem; }
.enquiry__form {
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.enquiry__form > * + *,
.enquiry__form > .field + .field { margin-top: 1.5rem; }
.enquiry__row {
  display: grid;
  gap: 1rem;
}
.enquiry__row .field + .field { margin-top: 0; }
.enquiry__form .field__label { line-height: 1; }
.enquiry__form .field__control { font-size: var(--fs-base); }
.enquiry__form textarea.field__control { min-height: 7.375rem; }
.enquiry__submit {
  width: 100%;
  height: 2.25rem;
  font-size: var(--fs-base);
  font-weight: 600;
}
@media (min-width: 768px) {
  .enquiry { padding-block: 4rem; }
  .enquiry__form { padding: 2rem; }
  .enquiry__row { grid-template-columns: 1fr 1fr; }
  .enquiry__form .field__control { font-size: var(--fs-sm); }
}

.enquiry__hint {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
}
.enquiry__hint a {
  font-weight: 500;
  color: var(--c-olive);
  text-decoration: underline;
}
