/* Diani homepage — Visit London-inspired layout, Diani brand colours */

.d-section {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.d-section--tight {
  padding-top: 0;
}

.d-section--surface {
  background: var(--k-surface, #f6f6f6);
}

.d-section__title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--k-ink);
  letter-spacing: -0.02em;
}

.d-section__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.d-section__head p,
.d-section__intro {
  margin: 0.4rem 0 1.75rem;
  color: var(--k-muted);
  line-height: 1.6;
  max-width: 40rem;
}

.d-section__head--row + .d-section__intro {
  margin-top: -0.85rem;
}

.d-section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.d-section__more {
  font-weight: 700;
  color: var(--k-accent);
  text-decoration: none;
  white-space: nowrap;
}

.d-section__more:hover {
  color: var(--k-accent-dark);
}

.d-empty {
  color: var(--k-muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero: copy left, image right ---------- */

.d-hero {
  background: var(--k-white);
  color: var(--k-ink);
  border-bottom: 1px solid var(--k-line);
}

.d-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4.5vw, 3.25rem);
}

.d-hero__copy {
  max-width: 36rem;
}

.d-hero__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--k-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.d-hero__title {
  margin: 0 0 0.9rem;
  color: var(--k-ink);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.d-hero__lead {
  margin: 0 0 1.35rem;
  color: var(--k-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.d-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.d-hero__media {
  position: relative;
  margin: 0 0.7rem 0.85rem 0;
}

.d-hero__media::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.7rem -0.75rem 0.7rem;
  background: var(--k-primary);
  z-index: 0;
}

.d-hero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  background: var(--k-surface);
}

/* ---------- Must see overlay cards ---------- */

.d-must {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.d-must__card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--k-primary-dark);
}

.d-must__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.d-must__card:hover img {
  transform: scale(1.05);
}

.d-must__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.72) 100%);
}

.d-must__name {
  position: absolute;
  z-index: 1;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 1.05rem;
  color: #fff;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.25;
}

/* ---------- First visit: editorial panel, not a second hero ---------- */

.d-visit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  background: var(--k-white);
  border: 1px solid var(--k-line);
  overflow: hidden;
}

.d-visit__media {
  min-height: 26rem;
  background: var(--k-surface);
}

.d-visit__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
  object-position: center 42%;
}

.d-visit__copy {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.35rem, 3.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--k-primary);
}

.d-visit__copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 400;
  line-height: 1.25;
}

.d-visit__copy p {
  margin: 0 0 1rem;
  color: var(--k-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.d-visit__copy p:last-of-type {
  margin-bottom: 1.35rem;
}

/* ---------- Icon category tiles ---------- */

.d-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.d-icons__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  text-align: center;
  text-decoration: none;
  color: var(--k-ink);
  background: #fff;
  border: 1px solid var(--k-line);
  padding: 1.35rem 0.7rem 1.2rem;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.d-icons__tile:hover {
  border-color: var(--k-accent);
  color: var(--k-primary);
  box-shadow: 0 8px 22px rgba(20, 16, 16, 0.06);
}

.d-icons__mark {
  width: 6.8rem;
  height: 6.8rem;
  flex: 0 0 6.8rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.d-icons__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.d-icons__label {
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--k-primary);
}

.d-icons__tile:hover .d-icons__label {
  color: var(--k-primary-dark);
}

/* ---------- Top attractions (landscape, titles below) ---------- */

.d-attr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.d-attr__card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--k-ink);
}

.d-attr__card:hover {
  color: var(--k-ink);
}

.d-attr__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--k-surface);
}

.d-attr__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.d-attr__card:hover img {
  transform: scale(1.04);
}

.d-attr__title {
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.3;
}

/* ---------- The Diani edition (vertical price cards) ---------- */

.d-edition {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.d-edition__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--k-white);
  border: 1px solid var(--k-line);
}

.d-edition__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--k-surface);
}

.d-edition__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.d-edition__card:hover .d-edition__media img {
  transform: scale(1.04);
}

.d-edition__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1rem 1.15rem;
}

.d-edition__label {
  margin: 0 0 0.3rem;
  color: var(--k-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.d-edition__title {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
}

.d-edition__title a {
  color: inherit;
  text-decoration: none;
}

.d-edition__title a:hover {
  color: var(--k-primary);
}

.d-edition__meta {
  margin: 0 0 0.4rem;
  color: var(--k-muted);
  font-size: 0.88rem;
}

.d-edition__price {
  margin: 0 0 0.85rem;
}

.d-edition__price .w-pkg-dual {
  margin-bottom: 0;
}

.d-edition__price .w-pkg-dual__amount,
.d-edition__price .w-pkg-dual__amount--kes,
.d-edition__price .w-pkg-dual__amount--usd {
  font-size: 1.05rem;
  color: var(--k-primary);
}

.d-edition__btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  color: #fff;
  background: var(--k-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.42rem 0.8rem;
}

.d-edition__btn:hover {
  color: #fff;
  background: var(--k-accent-dark);
}

/* ---------- Promo pair ---------- */

.d-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.d-promo__card {
  position: relative;
  display: block;
  min-height: 18rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.d-promo__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.d-promo__card:hover img {
  transform: scale(1.04);
}

.d-promo__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.62) 100%);
}

.d-promo__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 18rem;
  padding: 1.5rem 1.35rem 1.4rem;
}

.d-promo__title {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

.d-promo__text {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.5;
}

.d-strip {
  background: #111111;
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.85rem) 0;
}

.d-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.25rem;
  padding: clamp(1.35rem, 3.2vw, 2.15rem) clamp(1.35rem, 3.5vw, 2.4rem);
  border: 2px solid var(--k-primary);
}

.d-strip__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.d-strip h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-family: var(--font-heading, 'Lato', sans-serif);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.d-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.6;
}

.d-strip .k-btn--primary {
  flex: 0 0 auto;
  background: var(--k-accent);
  border-color: var(--k-accent);
  white-space: nowrap;
  padding: 0.85rem 1.4rem;
}

@media (max-width: 767.98px) {
  .d-strip .k-btn--primary {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Vertical highlight cards ---------- */

.d-vert {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.d-vert__card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
}

.d-vert__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.d-vert__card:hover img {
  transform: scale(1.05);
}

.d-vert__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
}

.d-vert__card span {
  position: absolute;
  z-index: 1;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.95rem;
  color: #fff;
  font-weight: 400;
  font-size: 1.15rem;
}

/* ---------- Blog edit ---------- */

.d-edit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.d-edit__card {
  background: #fff;
}

.d-edit__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.d-edit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-edit__label {
  margin: 0 0 0.3rem;
  color: var(--k-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.d-edit__title {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.d-edit__title a {
  color: inherit;
  text-decoration: none;
}

.d-edit__title a:hover {
  color: var(--k-primary);
}

.d-edit__btn {
  display: inline-block;
  color: #fff;
  background: var(--k-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
}

.d-edit__btn:hover {
  color: #fff;
  background: var(--k-accent-dark);
}

/* ---------- Location / How to get here ---------- */

.d-arrive__grid {
  display: grid;
  grid-template-columns: minmax(11rem, 0.78fr) minmax(0, 2.35fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}

.d-arrive__title h2 {
  margin: 0;
  font-family: var(--font-heading, 'Lato', sans-serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--k-ink);
}

.d-arrive__body > p {
  margin: 0 0 1.15rem;
  width: 100%;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--k-ink);
}

.d-arrive__body a {
  color: var(--k-primary);
  font-weight: 700;
  text-decoration: underline;
}

.d-arrive__map {
  margin-top: 1.35rem;
}

.d-arrive__frame {
  position: relative;
}

.d-arrive__frame iframe,
.d-loc__map iframe {
  width: 100%;
  height: min(52vh, 480px);
  border: 1px solid var(--k-line);
  display: block;
  background: var(--k-surface, #f6f6f6);
}

.d-arrive__expand {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  background: var(--k-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.d-arrive__expand:hover {
  background: var(--k-accent-dark, #9a0e24);
  color: #fff;
}

.d-arrive__caption,
.d-loc__map p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--k-muted);
}

.d-loc {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.d-loc__copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 400;
}

.d-loc__copy p {
  color: var(--k-muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}

/* ---------- Testimonials ---------- */

.d-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.d-proof__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--k-line);
  border-radius: 8px;
  padding: 1.25rem;
}

.d-proof__item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.d-proof__item blockquote {
  margin: 0;
}

.d-proof__item p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.d-proof__item footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.88rem;
}

.d-proof__item footer span {
  color: var(--k-muted);
}

/* ---------- Guide copy (full width) ---------- */

.d-guide {
  width: 100%;
  max-width: none;
  margin-top: 2.75rem;
  padding-top: 0.25rem;
}

.d-guide h2 {
  margin: 2.25rem 0 0.95rem;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 400;
  color: var(--k-ink);
}

.d-guide h2:first-child {
  margin-top: 0;
}

.d-guide h3 {
  margin: 1.75rem 0 0.7rem;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: var(--k-ink);
}

.d-guide p {
  color: var(--k-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1.15rem;
}

.d-guide .table-responsive {
  margin: 1.25rem 0 1.75rem;
}

.d-guide .table {
  margin-bottom: 0;
  background: #fff;
}

.d-guide .table th,
.d-guide .table td {
  vertical-align: middle;
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
}

.d-guide .table thead th {
  background: var(--k-surface);
  color: var(--k-ink);
  font-weight: 700;
  border-color: var(--k-line);
}

.d-guide .table td {
  color: var(--k-ink);
}

.d-seo-cta {
  background: var(--k-surface);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
}

.d-seo-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.d-seo-cta p {
  margin: 0 0 1rem;
  color: var(--k-muted);
}

@media (max-width: 991.98px) {
  .d-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .d-hero__media::before {
    inset: 0.85rem -0.55rem -0.85rem 0.55rem;
  }

  .d-hero__media img {
    aspect-ratio: 16 / 11;
  }

  .d-must,
  .d-icons,
  .d-attr,
  .d-edition,
  .d-vert,
  .d-edit,
  .d-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .d-visit,
  .d-loc,
  .d-arrive__grid,
  .d-promo {
    grid-template-columns: 1fr;
  }

  .d-visit {
    min-height: 0;
  }

  .d-visit__copy {
    border-left: 0;
    border-top: 4px solid var(--k-primary);
  }

  .d-visit__media img {
    min-height: 16rem;
    height: 16rem;
  }
}

@media (max-width: 575.98px) {
  .d-must,
  .d-icons,
  .d-attr,
  .d-edition,
  .d-vert,
  .d-edit,
  .d-proof {
    grid-template-columns: 1fr;
  }
}
