/* ===== GITE PAGES (shared) ===== */

/* Hero — split image / content */
.g-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: clamp(560px, 86vh, 820px);
  background: var(--c-bg-warm);
}
.g-hero__media { overflow: hidden; }
.g-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.g-hero__content {
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
}
.g-hero__inner { max-width: 540px; margin: 0 auto; padding: 0 0.5rem; }
.g-hero__inner h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.g-hero__ctas { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

@media (max-width: 880px) {
  .g-hero { grid-template-columns: 1fr; min-height: 0; }
  .g-hero__media { aspect-ratio: 4 / 3; }
  .g-hero__content { padding: 3rem 1.5rem; }
}

/* Story — text + image */
.g-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.g-story__inner--reverse .g-story__text { order: 2; }
.g-story__inner--reverse .g-story__figure { order: 1; }

.g-story__text h2 {
  margin-bottom: 1.2rem;
}
.g-story__text p {
  color: var(--c-ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.g-story__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.g-story__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.g-story__figure:hover img { transform: scale(1.04); }

@media (max-width: 880px) {
  .g-story__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .g-story__inner--reverse .g-story__text,
  .g-story__inner--reverse .g-story__figure { order: 0; }
  .g-story__figure { aspect-ratio: 4 / 3; }
}

/* Gallery — asymmetric grid */
.g-gallery { padding: 0; background: var(--c-bg); }
.g-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
  max-width: 100%;
}
.g-gallery__item {
  overflow: hidden;
  cursor: zoom-in;
  background: var(--c-bg-warm);
}
.g-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1), filter var(--t-fast);
}
.g-gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
.g-gallery__item--tall { grid-row: span 2; }
.g-gallery__item--wide { grid-column: span 2; }

@media (max-width: 720px) {
  .g-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-gallery__item--tall { grid-row: span 1; }
  .g-gallery__item--wide { grid-column: span 2; }
}

/* Features */
.g-features { background: var(--c-bg-warm); }
.g-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem 3rem;
}
.g-features article {
  border-top: 1px solid var(--c-line);
  padding-top: 1.2rem;
}
.g-features article h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.g-features article p {
  color: var(--c-ink-soft);
  margin: 0;
  font-size: 0.97rem;
}
@media (max-width: 880px) {
  .g-features__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .g-features__grid { grid-template-columns: 1fr; }
}

/* Location */
.g-location {
  background: var(--c-bg);
}
.g-location__inner { max-width: 760px; margin: 0 auto; }
.g-location__text h2 { margin-bottom: 1.2rem; }
.g-location__text p {
  color: var(--c-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Book */
.g-book { background: var(--c-ink); color: var(--c-paper); }
.g-book .eyebrow { color: rgba(251,248,241,0.7); }
.g-book .eyebrow::before { background: rgba(251,248,241,0.5); }
.g-book h2 { color: var(--c-paper); }
.g-book .lede { color: rgba(251,248,241,0.85); }
.g-book .form input,
.g-book .form select,
.g-book .form textarea { background: var(--c-paper); }
.g-book .form__field label { color: rgba(251,248,241,0.7); }
.g-book .form__fineprint { color: rgba(251,248,241,0.6); }

.g-book__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.rate-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.rate-card__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251,248,241,0.6);
  margin: 0 0 0.4rem;
}
.rate-card__price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--c-paper);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.rate-card__note {
  color: rgba(251,248,241,0.7);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .g-book__inner { grid-template-columns: 1fr; gap: 2rem; }
  .rate-card { position: static; }
}

/* Country accents */
.g-hero--england .eyebrow::before { background: #2c5e4f; }
.g-hero--france  .eyebrow::before { background: #8a4f31; }
