/*
 * Extracted from mu-plugins/kalon-homepage.php on 2026-04-10
 * (Phase 4 of the kalon-theme refactor).
 *
 * Combines TWO inline <style> blocks in source order:
 *   - Block 1: heredoc CSS body from kalon_home_css()
 *   - Block 2: .kh-form__btn override from kalon_home_form shortcode
 */


/* ── HERO ──────────────────────────────────────────────────── */
.kh-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #0a0a0a;
}
.kh-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.kh-hero__video-bg { 
  position: absolute; 
  inset: 0; 
  z-index: 1; 
}
.kh-hero__video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease;
}
.kh-hero.kh-hero--video-ready .kh-hero__video-bg video {
  opacity: 1;
  visibility: visible;
}
.kh-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
  pointer-events: none;
}
.kh-hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 24px;
}
.kh-hero__subtitle {
  font-family: var(--kalon-font-serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: .04em;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
  margin: 0 auto 32px;
  opacity: .9;
  max-width: 520px;
}
.kh-hero__benefits {
  font-family: var(--kalon-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 auto 28px;
  max-width: 640px;
}
.kh-hero .kalon-btn {
  box-shadow: 0 4px 20px rgba(0,179,219,.35)!important;
}
.kh-hero__press {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  text-align: center;
  padding: 20px 24px 36px;
}
.kh-hero__press-label {
  font-family: var(--kalon-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.kh-hero__press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.kh-hero__press-logos img {
  height: 30px;
  width: auto;
  opacity: .75;
  filter: brightness(0) invert(1);
  transition: opacity .3s;
}
.kh-hero__press-logos img[alt*="TripAdvisor"] { height: 42px; }
.kh-hero__press-logos img:hover { opacity: 1; }

/* ── MAGAZINE CARDS ─────────────────────────────────────────── */
.kh-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 48px;
}
.kh-pillar-col {
  background: #fff;
  border-radius: var(--kalon-radius);
  overflow: hidden;
  transition: transform .2s;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.kh-pillar-col:hover { transform: translateY(-3px); }
.kh-pillar-col__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  flex-shrink: 0;
}
.kh-pillar-col__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.kh-pillar-col:hover .kh-pillar-col__photo img { transform: scale(1.03); }
.kh-pillar-col__body {
  padding: 28px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.kh-pillar-col__label {
  font-family: var(--kalon-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--kalon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.kh-pillar-col__title {
  font-family: var(--kalon-font-body);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--kalon-text-primary);
  line-height: 1.3;
  margin: 0 0 14px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kh-pillar-col__text {
  font-family: var(--kalon-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--kalon-text-body);
  flex: 1;
}
.kh-pillar-col__text p { margin: 0 0 10px; }
.kh-pillar-col__text p:last-child { margin-bottom: 0; }
.kh-pillar-col__link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--kalon-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--kalon-cyan);
  text-decoration: none;
  border: 1.5px solid var(--kalon-cyan);
  padding: 8px 20px;
  border-radius: var(--kalon-radius-pill);
  transition: all .2s;
}
.kh-pillar-col__link:hover {
  background: var(--kalon-gradient);
  color: #fff;
  border-color: transparent;
}

/* ── LOCATION ──────────────────────────────────────────────── */
.kh-location__map {
  margin-top: 28px;
  border-radius: var(--kalon-radius);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
.kh-location__map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 500px) {
  .kh-location__map { aspect-ratio: 4 / 3; }
}

/* ── INCLUDED ──────────────────────────────────────────────── */
.kh-included__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 28px;
}
.kh-included__text {
  font-family: var(--kalon-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--kalon-text-body);
}
.kh-included__text p { margin: 0 0 16px; }
.kh-included__text em {
  font-family: var(--kalon-font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--kalon-text-primary);
}
.kh-included__label {
  margin-top: 24px;
  font-family: var(--kalon-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--kalon-text-primary);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kh-included__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.kh-included__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--kalon-border-faint);
  font-family: var(--kalon-font-body);
  font-size: 14px;
  color: var(--kalon-text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.kh-included__list li::before {
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  background: var(--kalon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.kh-included__image {
  border-radius: var(--kalon-radius);
  overflow: hidden;
}
.kh-included__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ── VIDEO LEAD ────────────────────────────────────────────── */
.kh-video__lead {
  font-family: var(--kalon-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--kalon-text-body);
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

/* ── FORM CARD ─────────────────────────────────────────────── */
.kh-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--kalon-radius);
  padding: 48px 40px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.08);
}
.kh-form-card .kalon-h2::after { display: none; }
.kh-form-card .kalon-h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
}
.kh-form-sub {
  font-family: var(--kalon-font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--kalon-text-light);
  margin: 0 0 28px;
}
.kh-form-contact {
  text-align: center;
  margin-top: 24px;
  font-family: var(--kalon-font-body);
  font-size: 13px;
  color: var(--kalon-text-light);
}
.kh-form-contact a {
  color: var(--kalon-text-body);
  text-decoration: none;
  transition: color .2s;
}
.kh-form-contact a:hover { color: var(--kalon-cyan); }
.kh-form__fields { display: flex; flex-direction: column; gap: 12px; }
.kh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kh-form__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--kalon-border-light);
  border-radius: 8px;
  font-family: var(--kalon-font-body);
  font-size: 14px;
  color: var(--kalon-text-body);
  outline: none;
  transition: border-color .2s;
  background: #fff;
  -webkit-appearance: none;
}
.kh-form__input::placeholder { color: var(--kalon-text-faint); }
.kh-form__input:focus { border-color: var(--kalon-cyan); }
.kh-form__textarea { resize: vertical; min-height: 90px; }
.kh-form-card .elementor-form .elementor-field {
  font-family: var(--kalon-font-body)!important;
  font-size: 14px!important;
  padding: 14px 16px!important;
  border: 1px solid var(--kalon-border-light)!important;
  border-radius: 8px!important;
  color: var(--kalon-text-body)!important;
}
.kh-form-card .elementor-form .elementor-field:focus { border-color: var(--kalon-cyan)!important; }
.kh-form-card .elementor-form .elementor-field-label { display: none!important; }

/* ── REVIEWS (dark) ────────────────────────────────────────── */
.kh-reviews { background: #2a2a2a; color: #fff; text-align: center; }
.kh-reviews .kalon-h2 { color: #fff; }
.kh-reviews .kalon-h2::after { margin-left: auto; margin-right: auto; }
.kh-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 36px;
}
.kh-review {
  background: rgba(255,255,255,.07);
  border-radius: var(--kalon-radius);
  padding: 28px 24px;
  text-align: left;
}
.kh-review__stars { color: #f5a623; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.kh-review__text {
  font-family: var(--kalon-font-serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
}
.kh-review__author {
  margin-top: 16px;
  font-family: var(--kalon-font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.kh-review__meta {
  font-family: var(--kalon-font-body);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-top: 3px;
}
.kh-reviews .kalon-review-agg__badge { color: rgba(255,255,255,.5); }
.kh-reviews .kalon-review-agg__score { color: #fff; }
.kh-reviews .kalon-review-agg__count { color: rgba(255,255,255,.5); }

/* ── MOBILE ────────────────────────────────────────────────── */
@media (max-width:768px){
  .kh-hero { min-height: 85svh; min-height: 85svh; }
  .kh-hero__press-logos { gap: 24px; }
  .kh-hero__press-logos img { height: 22px; }
  .kh-hero .kalon-btn { font-size: 13px; padding: 12px 32px; }
  .kh-hero__benefits { display: none; }
  .kh-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .kh-pillar-col__photo { aspect-ratio: 16/9; }
  .kh-pillar-col__title { min-height: 0; }
  .kh-included__grid { grid-template-columns: 1fr; }
  .kh-included__image { order: -1; }
  .kh-included__list { grid-template-columns: 1fr; }
  .kh-reviews__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .kh-form-card { padding: 32px 24px; }
  .kh-form__row { grid-template-columns: 1fr; }
}

/* ── SEO CONTENT — below-form editorial block ──────────────── */
.kh-seo__content {
  max-width: 760px;
  margin: 0 auto;
}
.kh-seo__content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--kalon-text-body);
  margin: 0 0 20px;
}
.kh-seo__content p:last-child {
  margin-bottom: 0;
}
.kh-seo__content a {
  color: var(--kalon-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,179,219,0.3);
  transition: border-color 0.2s;
}
.kh-seo__content a:hover {
  border-color: var(--kalon-cyan);
}


/* ── block 2 (was inline scoped override in kalon_home_form) ── */
.kh-form__btn{display:block!important;width:100%!important;text-align:center!important;margin-top:4px!important;}
