/* ============================================================
   Inner content pages — Concierge / Samui Guide / Contact.
   These reuse the home.css header (.hm-nav) + footer (.hm-footer);
   this file styles the page hero and content blocks in the same
   Oliver's-Travels neutral aesthetic (Fraunces headings, hairline
   cards). Load order: tokens.css → home.css → inner.css.
   ============================================================ */

body.hm-inner {
  background: var(--cream);
  color: var(--navy);
  font-family: "Manrope", sans-serif;
}

/* ---------- page hero (text) ---------- */
.inner-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) 5vw clamp(28px, 4vw, 56px);
}

.inner-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 14px 0 0;
}

.inner-hero h1 em { font-style: italic; font-weight: 400; }

.inner-intro {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--navy-soft);
  max-width: 58ch;
  margin: 20px 0 0;
  line-height: 1.65;
}

/* ---------- page hero (image) ---------- */
.svc-hero {
  position: relative;
  min-height: min(62vh, 600px);
  background-size: cover;
  background-position: center 22%;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 6vw, 68px) 5vw;
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 34, 0.20) 0%, rgba(20, 26, 34, 0.12) 42%, rgba(20, 26, 34, 0.70) 100%);
}

.svc-hero-inner {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.svc-hero .hm-kicker { color: rgba(255, 255, 255, 0.82); margin-bottom: 10px; }

.svc-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

.svc-hero h1 em { font-style: italic; font-weight: 400; }

.svc-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.62;
  max-width: 54ch;
  margin: 16px 0 0;
}

/* ---------- content section wrapper ---------- */
.inner-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) 5vw clamp(60px, 9vw, 110px);
}

.inner-section-head {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.inner-section-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-top: 6px;
}

/* ---------- card grid ---------- */
.inner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}

.inner-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- service features ---------- */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 64px);
}

.svc-feature {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.svc-feature:nth-child(even) .svc-media { order: 2; }

.svc-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.svc-feature:hover .svc-media img { transform: scale(1.04); }

.svc-body .hm-kicker { margin-bottom: 10px; }

.svc-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.14;
  color: var(--navy);
}

.svc-body p {
  color: var(--navy-soft);
  line-height: 1.66;
  font-size: 1rem;
  margin-top: 14px;
  max-width: 46ch;
}

@media (max-width: 760px) {
  .svc-feature { grid-template-columns: 1fr; gap: 16px; }
  .svc-feature:nth-child(even) .svc-media { order: 0; }
}

/* ---------- feature image collage ---------- */
.svc-media--collage {
  border: none;
  border-radius: 0;
  overflow: visible;
  display: grid;
  grid-template-columns: 1.72fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(8px, 1vw, 12px);
  aspect-ratio: 4 / 3;
}

.svc-media--collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.6s ease;
}

.svc-media--collage .svc-media-main {
  grid-row: 1 / span 2;
}

.svc-feature:hover .svc-media--collage img { transform: none; }
.svc-media--collage img:hover { transform: scale(1.03); }

/* ---------- explore (image cards) ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}

.explore-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.explore-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.explore-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.explore-card:hover .explore-media img { transform: scale(1.05); }

.explore-body { padding: 20px 22px 24px; }

.explore-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--navy);
}

.explore-body p {
  color: var(--navy-soft);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 8px;
}

.inner-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.inner-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--navy);
}

.inner-card p {
  color: var(--navy-soft);
  line-height: 1.62;
  font-size: 0.97rem;
}

.inner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

/* ---------- contact layout ---------- */
.inner-contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.inner-contact .inner-card { gap: 14px; }

.inner-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inner-contact-lines p {
  font-size: 1rem;
  color: var(--navy);
}

.inner-contact-lines span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-top: 10px;
}

.inner-contact-lines a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.inner-contact-lines a:hover { border-color: var(--navy); }

.inner-contact .hm-wa { margin-top: 6px; align-self: flex-start; }

.inner-note {
  font-size: 0.9rem;
  color: var(--navy-soft);
  line-height: 1.6;
}

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