/* =========================================================
   Treflyn Barn — ALL SECTIONS polish v2.5
   Unified rhythm, cards, CTAs — never hide images
   ========================================================= */

body.tb-front {
  --sec-radius: 22px;
  --sec-radius-sm: 16px;
  --sec-shadow: 0 18px 48px rgba(15, 20, 16, 0.08);
  --sec-shadow-hover: 0 26px 56px rgba(15, 20, 16, 0.13);
  --sec-border: 1px solid rgba(201, 166, 107, 0.2);
}

/* —— Shared section heads —— */
body.tb-front .section-head {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2rem, 4.5vw, 3rem) !important;
}

body.tb-front .section-head .eyebrow {
  margin-bottom: 0.75rem;
}

body.tb-front .section-head h2 {
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--forest, #0f1c16);
}

body.tb-front .section-head .lead {
  color: var(--ink-soft, #3a3834);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-inline: auto;
}

body.tb-front .section-head::after {
  width: 48px !important;
  height: 2px !important;
  margin-top: 1.25rem !important;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c9a66b, transparent) !important;
}

/* Dark section heads */
body.tb-front .sleep-section .section-head h2,
body.tb-front .pull-quote h2,
body.tb-front .final-cta h2 {
  color: #fffcf8;
}

body.tb-front .sleep-section .section-head .lead {
  color: rgba(255, 252, 248, 0.7);
}

body.tb-front .sleep-section .section-head::after {
  background: linear-gradient(90deg, transparent, #e0c49a, transparent) !important;
}

/* Shared CTA row under sections */
body.tb-front .section-cta,
body.tb-front .gallery-cta,
body.tb-front .reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* —— Promise —— */
body.tb-front .promise-grid {
  gap: 0 !important;
}

body.tb-front .promise-card {
  padding: 1.85rem 1.5rem 1.75rem !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body.tb-front .promise-card .p-num {
  order: -1;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}

body.tb-front .promise-card h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.4rem;
}

body.tb-front .promise-card p {
  margin: 0;
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft, #3a3834);
}

/* —— Checklist —— */
body.tb-front .stay-checklist-inner {
  align-items: stretch !important;
}

body.tb-front .stay-checklist-copy h2 {
  margin-bottom: 0.85rem;
}

body.tb-front .check-item {
  min-height: 4.5rem;
  align-items: center;
}

/* —— About —— */
body.tb-front .about-grid {
  gap: clamp(2rem, 4vw, 3.5rem) !important;
  align-items: center !important;
}

body.tb-front .about-copy .lead-inline {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #2d4a3c;
  margin-bottom: 1.1rem;
}

body.tb-front .about-enquire {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #2d4a3c;
}

body.tb-front .about-enquire a {
  color: #1b3a2c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.tb-front .about-enquire a:hover,
body.tb-front .about-enquire a:focus-visible {
  color: #0f1c16;
}

body.tb-front .about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

body.tb-front .about-enquire + .about-cta-row {
  margin-top: 0.85rem;
}

body.tb-front .floor-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.35rem 0 1.25rem;
}

@media (max-width: 560px) {
  body.tb-front .floor-plan {
    grid-template-columns: 1fr;
  }
  body.tb-front .about-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— Gallery —— */
body.tb-front .gallery-section {
  position: relative;
}

body.tb-front .gallery-item {
  box-shadow: 0 6px 20px rgba(15, 20, 16, 0.07);
}

body.tb-front .gallery-filters {
  margin-bottom: 1.5rem !important;
}

/* —— Sleep —— */
body.tb-front .sleep-grid {
  gap: 1.15rem !important;
}

body.tb-front .sleep-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 252, 248, 0.05) !important;
  border: 1px solid rgba(255, 252, 248, 0.12) !important;
  border-radius: var(--sec-radius) !important;
  overflow: hidden;
}

body.tb-front .sleep-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.tb-front .sleep-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.tb-front .sleep-card:hover .sleep-img img {
  transform: scale(1.05);
}

body.tb-front .sleep-card-body {
  padding: 1.2rem 1.25rem 1.35rem !important;
  flex: 1;
}

body.tb-front .sleep-card-body h3 {
  color: #fffcf8;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0.25rem 0 0.35rem;
}

body.tb-front .sleep-card-body p {
  color: rgba(255, 252, 248, 0.68);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.tb-front .sleep-label {
  color: #e0c49a !important;
}

/* —— Filmstrip —— */
body.tb-front .filmstrip-head {
  text-align: center;
  margin-bottom: 1.5rem !important;
}

body.tb-front .filmstrip-head h2 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--forest, #0f1c16);
}

body.tb-front .filmstrip-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted, #7a756e);
}

/* —— Experience —— */
body.tb-front .exp-grid {
  gap: 1.15rem !important;
}

body.tb-front .exp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fffcf8;
  border-radius: var(--sec-radius) !important;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 22, 0.06);
  box-shadow: var(--sec-shadow);
}

body.tb-front .exp-visual {
  min-height: 200px !important;
  height: 220px !important;
  background-size: cover !important;
  background-position: center !important;
}

body.tb-front .exp-body {
  padding: 1.35rem 1.35rem 1.5rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.tb-front .exp-body span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8874f;
  margin-bottom: 0.4rem;
}

body.tb-front .exp-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: var(--font-display, Georgia, serif);
  color: var(--forest, #0f1c16);
}

body.tb-front .exp-body p {
  margin: 0;
  flex: 1;
  color: var(--ink-soft, #3a3834);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* —— Day rhythm —— */
body.tb-front .day-rhythm {
  margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
}

body.tb-front .day-rhythm-head h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

body.tb-front .day-timeline li {
  transition: transform 0.3s ease;
}

body.tb-front .day-timeline li:hover {
  transform: translateY(-2px);
}

/* —— Amenities —— */
body.tb-front .amenities-section .amenity-cats,
body.tb-front #amenities .amenity-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  body.tb-front .amenities-section .amenity-cats,
  body.tb-front #amenities .amenity-cats {
    grid-template-columns: 1fr;
  }
}

body.tb-front .amenity-cat {
  height: 100%;
  padding: 1.4rem 1.35rem !important;
  border-radius: var(--sec-radius) !important;
  box-shadow: 0 10px 28px rgba(15, 20, 16, 0.05);
}

body.tb-front .cat-head {
  margin-bottom: 1rem !important;
  padding-bottom: 0.85rem !important;
}

body.tb-front .cat-head h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--forest, #0f1c16);
}

body.tb-front .amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.tb-front .amenity-chips li {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: #fffcf8;
  border: 1px solid rgba(15, 28, 22, 0.08);
}

body.tb-front .amenity-note {
  max-width: 38rem;
  margin: 1.75rem auto 0 !important;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted, #7a756e);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(15, 28, 22, 0.03);
  border: 1px solid rgba(15, 28, 22, 0.06);
}

/* —— Location —— */
body.tb-front .location-grid {
  gap: clamp(1.75rem, 4vw, 3rem) !important;
  align-items: start !important;
}

body.tb-front .location-points {
  gap: 0.65rem !important;
  margin-top: 1.35rem !important;
}

body.tb-front .location-point {
  border-radius: var(--sec-radius-sm) !important;
  padding: 1.05rem 1.15rem !important;
  background: #fffcf8 !important;
  border: 1px solid rgba(15, 28, 22, 0.07) !important;
  box-shadow: 0 6px 18px rgba(15, 20, 16, 0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.25s;
}

body.tb-front .location-point:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 166, 107, 0.35) !important;
  box-shadow: 0 12px 28px rgba(15, 20, 16, 0.08);
}

body.tb-front .location-point h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

body.tb-front .location-point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #7a756e);
}

body.tb-front .nearby-chips {
  margin-top: 1.25rem !important;
}

body.tb-front .season-grid {
  gap: 0.85rem !important;
  margin-top: clamp(1.75rem, 4vw, 2.5rem) !important;
}

body.tb-front .season-card {
  height: 100%;
  padding: 1.35rem 1.2rem !important;
  border-radius: var(--sec-radius-sm) !important;
  box-shadow: 0 8px 22px rgba(15, 20, 16, 0.05);
}

body.tb-front .season-card h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0.2rem 0 0.4rem;
}

body.tb-front .season-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft, #3a3834);
}

/* —— Reviews —— */
body.tb-front .reviews-section .section-head {
  margin-bottom: 1.75rem !important;
}

body.tb-front .review-topics {
  margin-bottom: 1.75rem !important;
}

body.tb-front .reviews-grid-quotes {
  gap: 1rem !important;
}

body.tb-front .review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.tb-front .review-card blockquote {
  flex: 1;
  margin: 0 0 1rem;
}

body.tb-front .review-card footer {
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted, #7a756e);
}

/* —— Rules —— */
body.tb-front .rules-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1000px) {
  body.tb-front .rules-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body.tb-front .rules-grid-4 {
    grid-template-columns: 1fr;
  }
}

body.tb-front .rule-card {
  height: 100%;
  padding: 1.45rem 1.3rem !important;
  border-radius: var(--sec-radius) !important;
  box-shadow: 0 10px 28px rgba(15, 20, 16, 0.05);
}

body.tb-front .rule-card h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--forest, #0f1c16);
}

body.tb-front .rule-card li {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft, #3a3834);
}

/* —— FAQ —— */
body.tb-front .faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.55rem;
}

body.tb-front .faq-item {
  overflow: hidden;
}

body.tb-front .faq-q {
  width: 100%;
  text-align: left;
  font-size: 1rem;
  line-height: 1.4;
  padding: 1.1rem 1.2rem !important;
  background: transparent;
  border: 0;
  cursor: pointer;
}

body.tb-front .faq-a-inner {
  padding: 0 1.2rem 1.15rem !important;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft, #3a3834);
}

/* —— Booking —— */
body.tb-front .booking-head {
  margin-bottom: 1.5rem !important;
}

body.tb-front .book-reasons {
  margin-bottom: 2rem !important;
}

body.tb-front .booking-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 20, 16, 0.12) !important;
}

@media (max-width: 900px) {
  body.tb-front .booking-wrap {
    grid-template-columns: 1fr !important;
  }
}

body.tb-front .booking-aside {
  padding: 2rem 1.75rem !important;
}

body.tb-front .booking-form-panel {
  padding: 2rem 1.75rem !important;
  background: #fffcf8;
}

body.tb-front .form-intro h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
}

body.tb-front .form-intro p {
  color: var(--muted, #7a756e);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

/* —— Final + host —— */
body.tb-front .final-cta-inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

body.tb-front .final-cta-inner p {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: rgba(255, 252, 248, 0.82);
}

body.tb-front .host-band {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 !important;
}

body.tb-front .host-card {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 1.85rem !important;
}

body.tb-front .host-info {
  flex: 1 1 220px;
}

body.tb-front .host-info h3 {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
}

body.tb-front .host-info p {
  margin: 0;
  color: var(--ink-soft, #3a3834);
  line-height: 1.6;
}

body.tb-front .host-badges {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* —— Stats band polish —— */
body.tb-front .stat-cell {
  padding: 0.5rem 0.35rem;
}

body.tb-front .stat-label {
  margin-top: 0.4rem !important;
}

/* —— Atmosphere —— */
body.tb-front .atmosphere-strip {
  border-top: 1px solid rgba(15, 28, 22, 0.04);
  border-bottom: 1px solid rgba(15, 28, 22, 0.04);
}

/* —— Pull quote —— */
body.tb-front .pull-quote {
  text-align: center;
}

body.tb-front .pull-quote blockquote {
  max-width: 44rem;
  margin-inline: auto;
}

/* —— Footer breathing —— */
body.tb-front .site-footer {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
}

body.tb-front .footer-col ul {
  display: grid;
  gap: 0.4rem;
}

body.tb-front .footer-col a {
  opacity: 0.85;
}

/* —— Mobile grids —— */
@media (max-width: 900px) {
  body.tb-front .sleep-grid,
  body.tb-front .exp-grid {
    grid-template-columns: 1fr !important;
  }

  body.tb-front .exp-visual {
    height: 190px !important;
  }
}

@media (min-width: 901px) {
  body.tb-front .sleep-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  body.tb-front .exp-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  body.tb-front .reviews-grid-quotes {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Images stay visible */
body.tb-front .sleep-img img,
body.tb-front .exp-visual,
body.tb-front .gallery-item img,
body.tb-front .loc-photo img {
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
}
