/*
 * Giggi Hytten homepage concept previews.
 * Palette variables are intentionally scoped to concept wrappers.
 */

.gh-concept-page-shell {
  background: #f5efe3;
}

.gh-concept {
  --gh-concept-primary: #234137;
  --gh-concept-secondary: #536e7d;
  --gh-concept-bg: #f5efe3;
  --gh-concept-surface: #ffffff;
  --gh-concept-accent: #b7653d;
  --gh-concept-accent-contrast: #ffffff;
  --gh-concept-text: #1a1a1a;
  --gh-concept-muted: #666158;
  --gh-concept-line: rgba(26, 26, 26, 0.13);
  --gh-concept-soft: #ddecf2;
  --gh-concept-radius: 8px;
  --gh-concept-shadow: 0 24px 64px rgba(26, 26, 26, 0.14);
  color: var(--gh-concept-text);
  background: var(--gh-concept-bg);
  font-size: 1rem;
  line-height: 1.6;
}

.gh-concept--a {
  --gh-concept-primary: #1f2623;
  --gh-concept-secondary: #2f4a3f;
  --gh-concept-bg: #f7f3ec;
  --gh-concept-surface: #fffaf2;
  --gh-concept-accent: #b88a4a;
  --gh-concept-text: #171717;
  --gh-concept-muted: #625d55;
  --gh-concept-line: #d8d3c8;
  --gh-concept-soft: #e7dfd2;
  --gh-concept-shadow: 0 28px 72px rgba(23, 23, 23, 0.18);
}

.gh-concept--b {
  --gh-concept-primary: #102a43;
  --gh-concept-secondary: #cfe8f6;
  --gh-concept-bg: #fafaf8;
  --gh-concept-surface: #ffffff;
  --gh-concept-accent: #d94c3d;
  --gh-concept-text: #202124;
  --gh-concept-muted: #666c70;
  --gh-concept-line: rgba(16, 42, 67, 0.16);
  --gh-concept-soft: #e9f5fb;
  --gh-concept-shadow: 0 24px 68px rgba(16, 42, 67, 0.16);
}

.gh-concept--c {
  --gh-concept-primary: #234137;
  --gh-concept-secondary: #536e7d;
  --gh-concept-bg: #f5efe3;
  --gh-concept-surface: #fffaf1;
  --gh-concept-accent: #b7653d;
  --gh-concept-text: #1a1a1a;
  --gh-concept-muted: #655f56;
  --gh-concept-line: rgba(35, 65, 55, 0.16);
  --gh-concept-soft: #ddecf2;
  --gh-concept-shadow: 0 24px 64px rgba(35, 65, 55, 0.16);
}

.gh-concept *,
.gh-concept *::before,
.gh-concept *::after {
  box-sizing: border-box;
}

.gh-concept :where(h1, h2, h3, p) {
  margin-top: 0;
}

.gh-concept :where(p:last-child) {
  margin-bottom: 0;
}

.gh-concept__inner {
  width: min(90%, 1180px);
  margin-inline: auto;
}

.gh-concept__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 720px;
  align-items: end;
  background-image: linear-gradient(90deg, rgba(15, 18, 16, 0.76), rgba(15, 18, 16, 0.36) 48%, rgba(15, 18, 16, 0.12)), var(--gh-concept-hero-image);
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.gh-concept--b .gh-concept__hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, 0.82), rgba(16, 42, 67, 0.42) 48%, rgba(16, 42, 67, 0.12)), var(--gh-concept-hero-image);
}

.gh-concept__hero-inner {
  width: min(90%, 1180px);
  margin-inline: auto;
  padding: 112px 0 86px;
}

.gh-concept__eyebrow {
  margin-bottom: 0.85rem;
  color: var(--gh-concept-accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.gh-concept__hero .gh-concept__eyebrow,
.gh-concept__booking-band .gh-concept__eyebrow {
  color: color-mix(in srgb, var(--gh-concept-accent) 78%, #ffffff);
}

.gh-concept h1 {
  max-width: 820px;
  margin-bottom: 1.15rem;
  color: inherit;
  font-size: 4.4rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

.gh-concept h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: var(--gh-concept-primary);
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.gh-concept h3 {
  margin-bottom: 0.65rem;
  color: var(--gh-concept-primary);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.gh-concept__lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
}

.gh-concept__hero-actions,
.gh-concept__booking-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.gh-concept__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gh-concept__button:hover,
.gh-concept__button:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.gh-concept__button--primary,
.gh-concept__button--primary:visited {
  background: var(--gh-concept-accent);
  color: var(--gh-concept-accent-contrast);
}

.gh-concept__button--primary:hover,
.gh-concept__button--primary:focus-visible {
  background: var(--gh-concept-primary);
  background: color-mix(in srgb, var(--gh-concept-accent) 86%, #111111);
  color: var(--gh-concept-accent-contrast);
}

.gh-concept__button--secondary,
.gh-concept__button--secondary:visited {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.gh-concept__button--secondary:hover,
.gh-concept__button--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.gh-concept__fact-band {
  border-bottom: 1px solid var(--gh-concept-line);
  background: var(--gh-concept-surface);
}

.gh-concept__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.gh-concept__fact {
  min-width: 0;
  padding: 1.35rem 1rem;
  border-left: 1px solid var(--gh-concept-line);
}

.gh-concept__fact:last-child {
  border-right: 1px solid var(--gh-concept-line);
}

.gh-concept__fact strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gh-concept-primary);
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.gh-concept__fact span {
  display: block;
  color: var(--gh-concept-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.gh-concept__section {
  padding: 88px 0;
}

.gh-concept__intro-grid,
.gh-concept__season-grid,
.gh-concept__facilities-grid,
.gh-concept__booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.gh-concept__copy p {
  max-width: 620px;
  color: var(--gh-concept-muted);
  font-size: 1.05rem;
}

.gh-concept__note {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gh-concept-accent);
  color: var(--gh-concept-primary);
  font-weight: 750;
}

.gh-concept__image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.gh-concept__image,
.gh-concept__season-image,
.gh-concept__gallery-image {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: var(--gh-concept-radius);
  object-fit: cover;
  box-shadow: var(--gh-concept-shadow);
}

.gh-concept__image--tall {
  aspect-ratio: 4 / 5;
}

.gh-concept__image-pair .gh-concept__image:nth-child(2) {
  transform: translateY(42px);
}

.gh-concept__section--apartments {
  background: var(--gh-concept-soft);
  background: color-mix(in srgb, var(--gh-concept-soft) 56%, var(--gh-concept-bg));
}

.gh-concept__section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.gh-concept__section-heading p:not(.gh-concept__eyebrow) {
  color: var(--gh-concept-muted);
}

.gh-concept__apartment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gh-concept__card {
  min-width: 0;
  padding: 1.55rem;
  border: 1px solid var(--gh-concept-line);
  border-radius: var(--gh-concept-radius);
  background: var(--gh-concept-surface);
}

.gh-concept__card p {
  color: var(--gh-concept-muted);
}

.gh-concept__card-meta {
  margin-bottom: 0.7rem;
  color: var(--gh-concept-accent);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gh-concept__season-section {
  background: var(--gh-concept-bg);
}

.gh-concept__season-grid {
  grid-template-columns: 1fr 1fr;
}

.gh-concept__season {
  display: grid;
  min-width: 0;
  gap: 1.35rem;
  align-content: space-between;
  min-height: 100%;
  padding: 1.4rem;
  border-radius: var(--gh-concept-radius);
}

.gh-concept__season--winter {
  background: var(--gh-concept-soft);
}

.gh-concept__season--summer {
  background: var(--gh-concept-surface);
  background: color-mix(in srgb, var(--gh-concept-accent) 13%, var(--gh-concept-surface));
}

.gh-concept--c .gh-concept__season--summer {
  background: #e3e8cf;
  background: color-mix(in srgb, #8aa35b 30%, var(--gh-concept-surface));
}

.gh-concept__season p:not(.gh-concept__eyebrow) {
  color: var(--gh-concept-muted);
}

.gh-concept__season-image {
  aspect-ratio: 16 / 10;
  box-shadow: none;
}

.gh-concept__facilities {
  background: var(--gh-concept-primary);
  color: rgba(255, 255, 255, 0.84);
}

.gh-concept__facilities h2 {
  color: #ffffff;
}

.gh-concept__facility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gh-concept__facility-list li {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--gh-concept-radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 750;
}

.gh-concept__gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gh-concept__gallery-image {
  height: 100%;
  box-shadow: none;
}

.gh-concept__gallery-image--wide {
  grid-column: span 2;
}

.gh-concept__booking-band {
  padding: 72px 0;
  background: var(--gh-concept-primary);
  color: rgba(255, 255, 255, 0.84);
}

.gh-concept__booking-band h2 {
  color: #ffffff;
}

.gh-concept__booking-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 980px) {
  .gh-concept__hero {
    min-height: 640px;
  }

  .gh-concept h1 {
    font-size: 3.3rem;
  }

  .gh-concept h2 {
    font-size: 2.1rem;
  }

  .gh-concept__facts,
  .gh-concept__apartment-grid,
  .gh-concept__gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gh-concept__intro-grid,
  .gh-concept__season-grid,
  .gh-concept__facilities-grid,
  .gh-concept__booking-grid {
    grid-template-columns: 1fr;
  }

  .gh-concept__gallery-image--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gh-concept__inner,
  .gh-concept__hero-inner {
    width: min(92%, calc(100% - 28px));
  }

  .gh-concept__hero {
    min-height: 590px;
    background-image: linear-gradient(180deg, rgba(15, 18, 16, 0.36), rgba(15, 18, 16, 0.84)), var(--gh-concept-hero-image);
  }

  .gh-concept__hero-inner {
    padding: 82px 0 54px;
  }

  .gh-concept h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .gh-concept h2 {
    font-size: 1.78rem;
  }

  .gh-concept__lead {
    font-size: 1.05rem;
  }

  .gh-concept__hero-actions,
  .gh-concept__booking-grid {
    align-items: stretch;
  }

  .gh-concept__button {
    width: 100%;
  }

  .gh-concept__facts,
  .gh-concept__apartment-grid,
  .gh-concept__facility-list,
  .gh-concept__gallery-grid,
  .gh-concept__image-pair {
    grid-template-columns: 1fr;
  }

  .gh-concept__fact {
    border-right: 1px solid var(--gh-concept-line);
  }

  .gh-concept__section {
    padding: 64px 0;
  }

  .gh-concept__image-pair .gh-concept__image:nth-child(2) {
    transform: none;
  }

  .gh-concept__season {
    padding: 1rem;
  }

  .gh-concept__gallery-grid {
    grid-auto-rows: 230px;
  }

  .gh-concept__gallery-image--wide {
    grid-column: auto;
  }

  .gh-concept__booking-band {
    padding: 58px 0;
  }
}
