/*
Theme Name: HOMKA Mont-Blanc
Theme URI: https://homka.fr
Author: HOMKA
Author URI: https://homka.fr
Description: Thème premium pour la location de chalets de luxe dans la région du Mont-Blanc. Gestion locative, conciergerie et services haut de gamme à Megève, Saint-Gervais et Combloux.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homka
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ── Reset & Base ───────────────────────────────── */
:root {
  --hk-primary: #01696F;
  --hk-primary-light: #028a91;
  --hk-primary-dark: #015458;
  --hk-bg: #FAF8F5;
  --hk-bg-alt: #F0EBE3;
  --hk-card: #FFFFFF;
  --hk-text: #2D2A26;
  --hk-text-light: #6B6560;
  --hk-text-muted: #9B9590;
  --hk-border: #E8E4DD;
  --hk-border-light: #F0ECE6;
  --hk-shadow: 0 2px 12px rgba(45,42,38,0.06);
  --hk-shadow-lg: 0 8px 30px rgba(45,42,38,0.10);
  --hk-radius: 8px;
  --hk-radius-lg: 12px;
  --hk-radius-xl: 20px;
  --hk-font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --hk-font-sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --hk-whatsapp: #25D366;
  --hk-max-width: 1280px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--hk-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--hk-text);
  background: var(--hk-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.hk-container {
  max-width: var(--hk-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--hk-font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hk-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.hk-section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hk-text-muted);
  margin-bottom: 12px;
  display: block;
  text-align: center;
}

.hk-section-title {
  text-align: center;
  margin-bottom: 16px;
}

.hk-section-subtitle {
  text-align: center;
  color: var(--hk-text-light);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── Section spacing ────────────────────────────── */
.hk-section { padding: 80px 0; }
.hk-section--alt { background: var(--hk-bg-alt); }
.hk-section--white { background: var(--hk-card); }

/* ── Buttons ────────────────────────────────────── */
.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--hk-radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: var(--hk-font-sans);
}

.hk-btn--primary {
  background: var(--hk-primary);
  color: #fff;
}

.hk-btn--primary:hover {
  background: var(--hk-primary-dark);
}

.hk-btn--outline {
  background: transparent;
  border: 1.5px solid var(--hk-border);
  color: var(--hk-text);
}

.hk-btn--outline:hover {
  border-color: var(--hk-primary);
  color: var(--hk-primary);
}

.hk-btn--secondary {
  background: transparent;
  border: 1.5px solid var(--hk-border);
  color: var(--hk-text);
}

.hk-btn--secondary:hover {
  border-color: var(--hk-primary);
  color: var(--hk-primary);
}

.hk-btn--whatsapp {
  background: var(--hk-whatsapp);
  color: #fff;
}

.hk-btn--whatsapp:hover {
  background: #1ebe57;
}

.hk-btn--white {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.hk-btn--white:hover {
  background: rgba(255,255,255,0.25);
}

.hk-link-arrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hk-text-muted);
  transition: color 0.25s;
}

.hk-link-arrow:hover {
  color: var(--hk-primary);
}

/* ── Header ─────────────────────────────────────── */
.hk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  padding: 20px 0;
}

.hk-header--transparent { background: transparent; }

.hk-header--solid {
  background: var(--hk-card);
  box-shadow: var(--hk-shadow);
  padding: 12px 0;
}

.hk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hk-header__logo {
  font-family: var(--hk-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.hk-header__logo img {
  height: 36px;
  width: auto;
}

.hk-header--solid .hk-header__logo {
  color: var(--hk-text);
}

.hk-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hk-nav > a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.hk-nav > a:hover {
  color: #fff;
}

.hk-header--solid .hk-nav > a {
  color: var(--hk-text);
}

.hk-header--solid .hk-nav > a:hover {
  color: var(--hk-primary);
}

.hk-nav__cta {
  padding: 8px 20px;
  background: var(--hk-primary);
  color: #fff !important;
  border-radius: var(--hk-radius);
  font-size: 13px;
  font-weight: 600;
}

.hk-nav__cta:hover {
  background: var(--hk-primary-dark);
}

/* Mobile menu */
.hk-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hk-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.hk-header--solid .hk-hamburger span {
  background: var(--hk-text);
}

.hk-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hk-card);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hk-mobile-menu.is-open { display: flex; }

.hk-mobile-menu > a {
  font-family: var(--hk-font-serif);
  font-size: 24px;
  color: var(--hk-text);
}

.hk-mobile-menu > a:hover {
  color: var(--hk-primary);
}

.hk-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--hk-text);
}

@media (max-width: 768px) {
  .hk-nav { display: none; }
  .hk-hamburger { display: block; }
}
/* ── Hero ───────────────────────────────────────── */
.hk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hk-hero__bg {
  position: absolute;
  inset: 0;
}

.hk-hero__bg picture,
.hk-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.hk-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0.15), rgba(0,0,0,0.50));
}

.hk-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hk-hero__destinations {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.hk-hero__title {
  color: #fff;
  margin-bottom: 20px;
}

.hk-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hk-hero__cta-below { margin-top: 32px; }

.hk-hero__cta-below a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.hk-hero__cta-below a:hover {
  color: #fff;
}

/* ── Page Hero : paysage desktop / compact mobile ───────────────── */
section.hk-hero.hk-hero--page {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
}

section.hk-hero.hk-hero--page .hk-hero__bg {
  position: absolute;
  inset: 0;
}

section.hk-hero.hk-hero--page .hk-hero__bg picture,
section.hk-hero.hk-hero--page .hk-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
}

section.hk-hero.hk-hero--page .hk-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

section.hk-hero.hk-hero--page .hk-hero__content {
  position: relative;
  z-index: 10;
  padding: 140px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  section.hk-hero.hk-hero--page {
    height: 38vh;
    min-height: 280px;
    max-height: 360px;
  }

  section.hk-hero.hk-hero--page .hk-hero__bg img {
    object-position: center top;
  }

  section.hk-hero.hk-hero--page .hk-hero__content {
    padding: 110px 20px 36px;
  }

  section.hk-hero.hk-hero--page .hk-hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}
/* ── Search Bar ─────────────────────────────────── */
.hk-search {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--hk-radius-lg);
  padding: 20px 24px;
  box-shadow: var(--hk-shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}

.hk-search--page {
  background: var(--hk-card);
  border: 1px solid var(--hk-border);
  backdrop-filter: none;
  margin: -32px auto 0;
  position: relative;
  z-index: 20;
}

.hk-search__form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.hk-search__field { flex: 1; }

.hk-search__field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--hk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hk-search__field select,
.hk-search__field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--hk-border);
  border-radius: var(--hk-radius);
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--hk-font-sans);
  color: var(--hk-text);
  background: var(--hk-card);
  appearance: none;
  -webkit-appearance: none;
}

.hk-search__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B9590' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.hk-search__submit { flex-shrink: 0; }

.hk-search__submit .hk-btn {
  height: 44px;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .hk-search__form { flex-direction: column; }
  .hk-search__submit .hk-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Chalet Card ────────────────────────────────── */
.hk-card {
  background: var(--hk-card);
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hk-border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}

.hk-card:hover {
  box-shadow: var(--hk-shadow-lg);
  transform: translateY(-2px);
}

.hk-card__img {
  aspect-ratio: 16/11;
  overflow: hidden;
  position: relative;
}

.hk-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.hk-card:hover .hk-card__img img {
  transform: scale(1.05);
}

.hk-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--hk-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.hk-card__body { padding: 20px; }

.hk-card__dest {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hk-text-muted);
  margin-bottom: 6px;
}

.hk-card__title {
  font-family: var(--hk-font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hk-card__specs {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--hk-text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hk-card__specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hk-card__excerpt {
  font-size: 14px;
  color: var(--hk-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hk-card__link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-text-muted);
  font-weight: 600;
  transition: color 0.25s;
}

.hk-card__link:hover {
  color: var(--hk-primary);
}

/* ── Chalet Grid ────────────────────────────────── */
.hk-grid { display: grid; gap: 24px; }
.hk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hk-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .hk-grid--3,
  .hk-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hk-grid--3,
  .hk-grid--2,
  .hk-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ── Destination Card ───────────────────────────── */
.hk-dest-card {
  position: relative;
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}

.hk-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.hk-dest-card:hover img {
  transform: scale(1.05);
}

.hk-dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 35%,
    rgba(0,0,0,0) 80%
  );
  pointer-events: none;
}

.hk-dest-card__content {
  position: absolute;
  inset-inline: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.hk-dest-card__title {
  font-family: var(--hk-font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.hk-dest-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hk-dest-card__cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
}

.hk-dest-card:hover .hk-dest-card__cta {
  color: #fff;
}

.hk-dest-card__title,
.hk-dest-card__cta {
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* ── Split Benefits ─────────────────────────────── */
.hk-split__benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.hk-split__benefit h4 {
  font-size: 20px !important;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.25;
}

.hk-split__benefit p {
  font-size: 16px !important;
  color: var(--hk-text-light);
  line-height: 1.7;
}

/* ── Services Grid ─────────────────────────────── */
.hk-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.hk-service-item {
  background: var(--hk-card);
  border: 1px solid var(--hk-border-light);
  border-radius: var(--hk-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hk-service-item__icon,
.hk-service-itemicon {
  color: var(--hk-text);
  margin-bottom: 18px;
}

.hk-service-item__title,
.hk-service-itemtitle {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.hk-service-item__desc,
.hk-service-itemdesc {
  color: var(--hk-text-light);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.hk-service-item a {
  margin-top: auto;
}

/* Tablet : 2 colonnes, la dernière carte prend toute la largeur si impair */
@media (max-width: 1024px) {
  .hk-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hk-service-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .hk-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Owners Section ─────────────────────────────── */
.hk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hk-split__img {
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  height: 450px;
}

.hk-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hk-split__benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  max-width: 560px;
}

.hk-split__benefit p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hk-text-light);
  max-width: 540px;
}

@media (max-width: 768px) {
  .hk-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hk-split__img {
    height: 300px;
  }
}

/* ── Testimonials ───────────────────────────────── */
.hk-testimonial {
  background: var(--hk-card);
  border-radius: var(--hk-radius-lg);
  padding: 28px;
  border: 1px solid var(--hk-border-light);
}

.hk-testimonial__quote {
  font-size: 14px;
  color: var(--hk-text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.hk-testimonial__author {
  border-top: 1px solid var(--hk-border);
  padding-top: 16px;
}

.hk-testimonial__name {
  font-size: 14px;
  font-weight: 600;
}

.hk-testimonial__role {
  font-size: 12px;
  color: var(--hk-text-muted);
  margin-top: 2px;
}

/* ── Blog Card ──────────────────────────────────── */
.hk-blog-card {
  background: var(--hk-card);
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hk-border-light);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.hk-blog-card:hover {
  box-shadow: var(--hk-shadow);
  border-color: var(--hk-border);
}

.hk-blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.hk-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.hk-blog-card:hover .hk-blog-card__img img {
  transform: scale(1.05);
}

.hk-blog-card__body { padding: 20px; }

.hk-blog-card__meta {
  font-size: 12px;
  color: var(--hk-text-muted);
  margin-bottom: 8px;
}

.hk-blog-card__title {
  font-family: var(--hk-font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hk-blog-card__excerpt {
  font-size: 14px;
  color: var(--hk-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hk-blog-card__cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-text-muted);
  transition: color 0.25s;
}

.hk-blog-card:hover .hk-blog-card__cta {
  color: var(--hk-primary);
}

/* ── Single Chalet Hero : paysage desktop / compact mobile ──────── */
.hk-chalet-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
}

.hk-chalet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hk-chalet-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.10) 60%, rgba(0,0,0,0.05) 100%);
}

.hk-chalet-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: #fff;
  z-index: 2;
}

@media (max-width: 767px) {
  .hk-chalet-hero {
    height: 40vh;
    min-height: 300px;
    max-height: 380px;
  }

  .hk-chalet-hero img {
    object-position: center center;
  }

  .hk-chalet-hero__content {
    padding: 24px 20px 28px;
  }
}

.hk-chalet-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  padding: 48px 0;
}

.hk-chalet-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.hk-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.hk-spec {
  text-align: center;
  padding: 20px;
  background: var(--hk-bg);
  border-radius: var(--hk-radius);
}

.hk-spec__value {
  font-family: var(--hk-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--hk-primary);
}

.hk-spec__label {
  font-size: 12px;
  color: var(--hk-text-muted);
  margin-top: 4px;
}

.hk-amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hk-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--hk-text-light);
  padding: 10px 14px;
  background: var(--hk-bg);
  border-radius: var(--hk-radius);
}

.hk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hk-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--hk-radius);
  cursor: pointer;
  transition: opacity 0.25s;
}

.hk-gallery-grid img:hover {
  opacity: 0.85;
}

.hk-contact-panel {
  background: var(--hk-bg);
  border: 1px solid var(--hk-border);
  border-radius: var(--hk-radius-lg);
  padding: 28px;
}

.hk-contact-panel h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.hk-contact-panel label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hk-text);
  margin-bottom: 6px;
}

.hk-contact-panel input,
.hk-contact-panel textarea,
.hk-contact-panel select {
  width: 100%;
  border: 1px solid var(--hk-border);
  border-radius: var(--hk-radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--hk-font-sans);
  color: var(--hk-text);
  background: #fff;
  margin-bottom: 14px;
}

.hk-contact-panel textarea {
  min-height: 100px;
  resize: vertical;
}

@media (max-width: 1024px) {
  .hk-chalet-layout { grid-template-columns: 1fr; }
  .hk-chalet-sidebar { position: static; }
}

@media (max-width: 640px) {
  .hk-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .hk-amenities-list { grid-template-columns: 1fr; }
}

/* ── Archive Filters Sidebar ────────────────────── */
.hk-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.hk-sidebar-filters {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--hk-card);
  border: 1px solid var(--hk-border);
  border-radius: var(--hk-radius-lg);
  padding: 24px;
}

.hk-sidebar-filters h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hk-filter-group { margin-bottom: 20px; }

.hk-filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hk-text-muted);
  margin-bottom: 8px;
}

.hk-filter-group select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--hk-border);
  border-radius: var(--hk-radius);
  padding: 0 12px;
  font-size: 14px;
  font-family: var(--hk-font-sans);
  color: var(--hk-text);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B9590' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.hk-filter-group .hk-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hk-filter-group .hk-checkbox-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hk-text-light);
  cursor: pointer;
}

.hk-filter-group .hk-checkbox-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--hk-primary);
}

.hk-filter-reset {
  font-size: 13px;
  color: var(--hk-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}

.hk-filter-reset:hover {
  color: var(--hk-primary);
}

.hk-results-count {
  font-size: 14px;
  color: var(--hk-text-muted);
  margin-bottom: 20px;
}

.hk-mobile-filter-toggle { display: none; }

@media (max-width: 768px) {
  .hk-archive-layout { grid-template-columns: 1fr; }

  .hk-sidebar-filters {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    border-radius: 0;
    overflow-y: auto;
  }

  .hk-sidebar-filters.is-open { display: block; }
  .hk-mobile-filter-toggle {
    display: inline-flex;
    margin-bottom: 16px;
  }

  .hk-filter-close-mobile {
    display: block;
    text-align: right;
    margin-bottom: 12px;
  }

  .hk-filter-close-mobile button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
}

/* ── Contact Page ───────────────────────────────── */
.hk-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.hk-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hk-contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hk-contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--hk-bg);
  border-radius: var(--hk-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hk-primary);
}

@media (max-width: 768px) {
  .hk-contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────── */
.hk-footer {
  background: var(--hk-text);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}

.hk-footer a {
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
}

.hk-footer a:hover {
  color: #fff;
}

.hk-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hk-footer__brand {
  font-family: var(--hk-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.hk-footer__brand img {
  height: 32px;
  width: auto;
  filter: brightness(10);
}

.hk-footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.hk-footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hk-footer__links { list-style: none; }

.hk-footer__links li {
  margin-bottom: 10px;
}

.hk-footer__links a { font-size: 14px; }

.hk-footer__bottom {
  padding: 24px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hk-footer__legal {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hk-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hk-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hk-footer__grid { grid-template-columns: 1fr; }
}

/* ── WhatsApp Float ─────────────────────────────── */
.hk-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: var(--hk-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hk-shadow-lg);
  transition: opacity 0.25s;
}

.hk-whatsapp-float:hover {
  opacity: 0.9;
}

.hk-whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ── 404 ────────────────────────────────────────── */
.hk-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.hk-404 h1 {
  font-size: 120px;
  color: var(--hk-border);
  line-height: 1;
  margin-bottom: 16px;
}

/* ── Misc ───────────────────────────────────────── */
.hk-prose { max-width: 720px; }

.hk-prose p {
  margin-bottom: 16px;
  color: var(--hk-text-light);
  line-height: 1.8;
}

.hk-prose h2 { margin: 40px 0 16px; }
.hk-prose h3 { margin: 32px 0 12px; }

.hk-prose ul,
.hk-prose ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--hk-text-light);
}

.hk-prose li {
  margin-bottom: 8px;
}

.hk-prose img {
  border-radius: var(--hk-radius-lg);
  margin: 32px 0;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}
.hk-hero__bg {
  position: absolute;
  inset: 0;
}

.hk-hero__bg picture,
.hk-hero__img {
  display: block;
  width: 100%;
  height: 100%;
}

.hk-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767px) {
  .hk-hero__img {
    object-position: center top;
  }
}
.hk-gallery .swiper-button-prev,
.hk-gallery .swiper-button-next,
.hk-chalet-gallery .swiper-button-prev,
.hk-chalet-gallery .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  transform: none !important;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease !important;
}

.hk-gallery .swiper-button-prev:hover,
.hk-gallery .swiper-button-next:hover,
.hk-chalet-gallery .swiper-button-prev:hover,
.hk-chalet-gallery .swiper-button-next:hover,
.hk-gallery .swiper-button-prev:focus-visible,
.hk-gallery .swiper-button-next:focus-visible,
.hk-chalet-gallery .swiper-button-prev:focus-visible,
.hk-chalet-gallery .swiper-button-next:focus-visible {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.75) !important;
  transform: none !important;
  box-shadow: none !important;
}

.hk-gallery .swiper-button-prev::after,
.hk-gallery .swiper-button-next::after,
.hk-chalet-gallery .swiper-button-prev::after,
.hk-chalet-gallery .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
  color: #fff !important;
}

.hk-gallery .swiper-button-disabled,
.hk-chalet-gallery .swiper-button-disabled {
  opacity: .45 !important;
  cursor: default !important;
}
@media (max-width: 767px) {
  .hk-search,
  .hk-search--page {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    display: block !important;
    z-index: 30 !important;
  }

  .hk-search .hk-search__form,
  .hk-search--page .hk-search__form {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hk-search .hk-search__field,
  .hk-search .hk-search__submit,
  .hk-search--page .hk-search__field,
  .hk-search--page .hk-search__submit {
    width: 100% !important;
    margin: 0 !important;
  }

  .hk-search .hk-search__field label,
  .hk-search--page .hk-search__field label {
    display: block !important;
    text-align: left !important;
    margin-bottom: 6px !important;
  }

  .hk-search .hk-search__field select,
  .hk-search .hk-search__submit .hk-btn,
  .hk-search--page .hk-search__field select,
  .hk-search--page .hk-search__submit .hk-btn {
    width: 100% !important;
  }

  /* Home : reste centré normalement */
  .home .hk-search {
    margin-top: 0 !important;
  }

  /* Page chalet / propriétés : remonte un peu sur la photo */
  .post-type-archive-chalet .hk-search--page,
  .page-template .hk-search--page,
  .page .hk-search--page {
    margin-top: -38px !important;
  }
}

@media (max-width: 767px) {
  /* Home : blocs texte centrés */
  .home .hk-owner,
  .home .hk-about,
  .home .hk-story,
  .home .hk-proprietaire,
  .home .hk-apropos,
  .home .hk-histoire,
  .home .hk-owner *,
  .home .hk-about *,
  .home .hk-story *,
  .home .hk-proprietaire *,
  .home .hk-apropos *,
  .home .hk-histoire * {
    text-align: center !important;
  }

  .home .hk-owner .hk-btn,
  .home .hk-about .hk-btn,
  .home .hk-story .hk-btn,
  .home .hk-proprietaire .hk-btn,
  .home .hk-apropos .hk-btn,
  .home .hk-histoire .hk-btn {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
  }

@media (max-width: 767px) {
  /* Footer mobile centré */
  footer,
  .site-footer,
  .footer {
    text-align: center !important;
  }

  footer *,
  .site-footer *,
  .footer * {
    text-align: center !important;
  }

  footer .custom-logo-link,
  .site-footer .custom-logo-link,
  .footer .custom-logo-link,
  footer .hk-footer__brand,
  .site-footer .hk-footer__brand,
  .footer .hk-footer__brand,
  footer .hk-footer__logo,
  .site-footer .hk-footer__logo,
  .footer .hk-footer__logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  footer img,
  .site-footer img,
  .footer img,
  footer .custom-logo,
  .site-footer .custom-logo,
  .footer .custom-logo {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  footer p,
  footer span,
  footer a,
  .site-footer p,
  .site-footer span,
  .site-footer a,
  .footer p,
  .footer span,
  .footer a {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  footer .hk-btn,
  .site-footer .hk-btn,
  .footer .hk-btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

  /* Section propriétaires */
  .home #owners .hk-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .home #owners .hk-split > div:first-child {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #owners .hk-split > div:first-child .hk-section-label,
  .home #owners .hk-split > div:first-child h2,
  .home #owners .hk-split > div:first-child p,
  .home #owners .hk-split > div:first-child h4,
  .home #owners .hk-split > div:first-child .hk-split__benefit,
  .home #owners .hk-split > div:first-child .hk-split__benefit p,
  .home #owners .hk-split > div:first-child .hk-split__benefit h4 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #owners .hk-split > div:first-child .hk-btn {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Section histoire HOMKA = section juste après #owners */
  .home #owners + .hk-section .hk-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .home #owners + .hk-section .hk-split > div:last-child {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #owners + .hk-section .hk-split > div:last-child .hk-section-label,
  .home #owners + .hk-section .hk-split > div:last-child h2,
  .home #owners + .hk-section .hk-split > div:last-child p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #owners + .hk-section .hk-split > div:last-child .hk-btn {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 767px) {
  .home #services {
    text-align: center !important;
  }

  .home #services .hk-section-label,
  .home #services .hk-section-title,
  .home #services .hk-section-subtitle,
  .home #services p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #services .hk-btn {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home #services .hk-grid,
  .home #services .hk-grid--3 {
    text-align: left !important;
  }
}
@media (max-width: 767px) {
  /* Page destinations : grille des vignettes */
  .page-template-page-destinations .hk-grid.hk-grid--3,
  .page-template-destinations .hk-grid.hk-grid--3,
  .page-template-default .hk-grid.hk-grid--3 {
    gap: 20px !important;
  }

  .page-template-page-destinations .hk-dest-card,
  .page-template-destinations .hk-dest-card,
  .page-template-default .hk-dest-card {
    margin-bottom: 0 !important;
  }

  /* Bloc SEO avec texte + image */
  .page-template-page-destinations .hk-split,
  .page-template-destinations .hk-split,
  .page-template-default .hk-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .page-template-page-destinations .hk-split > div:first-child,
  .page-template-destinations .hk-split > div:first-child,
  .page-template-default .hk-split > div:first-child {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-template-page-destinations .hk-split > div:first-child h2,
  .page-template-page-destinations .hk-split > div:first-child p,
  .page-template-page-destinations .hk-split > div:first-child a,
  .page-template-destinations .hk-split > div:first-child h2,
  .page-template-destinations .hk-split > div:first-child p,
  .page-template-destinations .hk-split > div:first-child a,
  .page-template-default .hk-split > div:first-child h2,
  .page-template-default .hk-split > div:first-child p,
  .page-template-default .hk-split > div:first-child a {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-template-page-destinations .hk-split > div:first-child .hk-btn,
  .page-template-destinations .hk-split > div:first-child .hk-btn,
  .page-template-default .hk-split > div:first-child .hk-btn {
    display: inline-flex !important;
  }

  /* Réduit l’espace sous l’image avant le CTA */
  .page-template-page-destinations .hk-split__img,
  .page-template-destinations .hk-split__img,
  .page-template-default .hk-split__img {
    margin-bottom: 0 !important;
  }

  .page-template-page-destinations .hk-split__img img,
  .page-template-destinations .hk-split__img img,
  .page-template-default .hk-split__img img {
    display: block !important;
    margin-bottom: 0 !important;
  }

  /* CTA après l'image : remonte un peu */
  .page-template-page-destinations .hk-section[style*="background-color:#F7F4EE;"],
  .page-template-destinations .hk-section[style*="background-color:#F7F4EE;"],
  .page-template-default .hk-section[style*="background-color:#F7F4EE;"] {
    padding-top: 24px !important;
    margin-top: 0 !important;
  }
}
@media (max-width: 767px) {

	@media (max-width: 767px) {
  /* Page Services */
  .page-template-page-services .hk-split,
  .page-template-services .hk-split,
  .page-template-default .hk-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .page-template-page-services .hk-split > div,
  .page-template-services .hk-split > div,
  .page-template-default .hk-split > div {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-template-page-services .hk-split p,
  .page-template-page-services .hk-split h2,
  .page-template-page-services .hk-split a,
  .page-template-services .hk-split p,
  .page-template-services .hk-split h2,
  .page-template-services .hk-split a,
  .page-template-default .hk-split p,
  .page-template-default .hk-split h2,
  .page-template-default .hk-split a {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-template-page-services .hk-split .hk-btn,
  .page-template-services .hk-split .hk-btn,
  .page-template-default .hk-split .hk-btn {
    display: inline-flex !important;
  }

  .page-template-page-services .hk-split__img,
  .page-template-services .hk-split__img,
  .page-template-default .hk-split__img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-template-page-services .hk-split__img img,
  .page-template-services .hk-split__img img,
  .page-template-default .hk-split__img img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.section-kicker{
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  font-weight: 500;
}

.section-heading{
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
  font-weight: 400;
}

.section-copy{
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  max-width: 60ch;
}
	