/* pine — «Хвоя»: the direction's own type, cards and looks, on the body's class. Colours only through var(--*): the
   direction's colour sets drive them. */

.direction-pine {
  --section-pad: clamp(4.5rem, 8.3vw, 7.5rem);
  --head-gap: clamp(2rem, 3.3vw, 3rem);
  --pill: 12px;
  --radius: 24px;
  --radius-small: 12px;
  --card-radius: clamp(20px, 2.2vw, 32px);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* The type: the display serif at its one weight; the body plain. */
.direction-pine :is(h1, h2, h3) { font-weight: 400; letter-spacing: 0; }
.direction-pine main h1 { font-size: clamp(2.8rem, 6.4vw, 5.75rem); line-height: 1.02; }
.direction-pine main h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); line-height: 1.08; }
.direction-pine main h3 { font-size: clamp(1.4rem, 2.1vw, 1.875rem); line-height: 1.15; }
.direction-pine :is(h1, h2) em { font-style: normal; color: var(--accent); }
.direction-pine .eyebrow { font-size: .94rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--accent); }

/* The buttons: softly squared. */
.direction-pine .btn { border-radius: 12px; font-weight: 600; box-shadow: none; }
.direction-pine .btn:hover { transform: none; box-shadow: none; }
.direction-pine main .btn { min-height: 3.25rem; padding-inline: 1.6rem; }
.direction-pine main .btn-ghost { border: 1.5px solid var(--line); background: none; color: var(--ink); }
.direction-pine .hero-actions { gap: .75rem; }

/* The first screen: the landscape in a round-cornered card held off the page's edges, the words at its foot over a
   darkening, the booking bar under them. */
.direction-pine main .section:has(> .hero--cover.has-photo) { padding: 0 clamp(12px, 1.7vw, 24px); }
.direction-pine .hero--cover.has-photo { min-height: clamp(36rem, 53vw, 47.5rem); display: flex; align-items: flex-end; border-radius: var(--card-radius);
                                         overflow: hidden; padding-block: 8rem clamp(1.5rem, 3.3vw, 3rem); }
.direction-pine .hero--cover.has-photo .hero-inner { width: 100%; }
.direction-pine .hero--cover.has-photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .55)); }
.direction-pine .hero--cover .hero-copy { max-width: 54rem; }
.direction-pine .hero--cover .lead { font-size: 1.3rem; max-width: 38rem; }
.direction-pine .hero--cover .eyebrow { color: #fff; }
.direction-pine .hero-bar { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* The cabins: cards with tall round-cornered photos, the name in the serif, the price at the foot. */
.direction-pine .svc-card--rental { background: none; border: 0; box-shadow: none; padding: 0; }
.direction-pine .svc-card--rental .card__media, .direction-pine .svc-card--rental img { border-radius: var(--radius); }
.direction-pine .svc-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
.direction-pine .price-line .price, .direction-pine .price-main { font-weight: 700; font-size: 1.25rem; color: var(--ink); }

/* About: a plate of the surface held off the page's edges; the reasons on the same plate when they follow it. */
.direction-pine main .section:has(.story) { margin-inline: clamp(12px, 1.7vw, 24px); border-radius: var(--card-radius); background: var(--surface); }
.direction-pine .story-text p { font-size: 1.3rem; }
.direction-pine .story-media img { border-radius: var(--radius); }
.direction-pine .features--cards .feature-card { border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: none; }
.direction-pine .feature-card p { color: var(--muted); }

/* The reviews: no cards — three under a rule of the ink. */
.direction-pine .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: clamp(1.5rem, 2.5vw, 2rem); }
.direction-pine .quote-card { background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; padding: 1.4rem 0 0; }
.direction-pine .quote-card blockquote { font-family: var(--font-body); font-size: 1.125rem; }
.direction-pine .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.direction-pine .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.direction-pine .quote-avatar { display: none; }

/* The team: round-cornered portraits. */
.direction-pine :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; }
.direction-pine .person__photo { border-radius: var(--radius); }
.direction-pine .person__name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }

/* The call to action and the footer: plates of the primary held off the page's edges, round-cornered. */
.direction-pine main .section:has(> .cta--band) { padding-inline: clamp(12px, 1.7vw, 24px); }
.direction-pine .cta--band { border-radius: var(--card-radius); }
body.direction-pine[class] .ftr { margin: clamp(2rem, 5vw, 5rem) clamp(12px, 1.7vw, 24px) clamp(12px, 1.7vw, 24px); border-radius: var(--card-radius); border: 0;
                           background: var(--primary); color: var(--primary-ink); --ink: var(--primary-ink);
                           --muted: color-mix(in srgb, var(--primary-ink) 70%, transparent); --line: color-mix(in srgb, var(--primary-ink) 22%, transparent); }
.direction-pine .ftr a { color: var(--primary-ink); }
.direction-pine .ftr .brand__word { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.05; white-space: normal; }

/* The header: the name in the serif beside a small fir. */
.direction-pine .brand__word { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); white-space: nowrap; }
.direction-pine .hdr .brand__word::before { content: ''; flex: none; width: 1.6rem; height: 1.8rem; background: var(--primary);
                                            clip-path: polygon(50% 0, 78% 38%, 66% 38%, 92% 72%, 58% 72%, 58% 100%, 42% 100%, 42% 72%, 8% 72%, 34% 38%, 22% 38%); }
.direction-pine .brand__word.is-long { font-size: 1.35rem; }

/* The stay's own page: the booking card on the surface, round-cornered. */
.direction-pine .rent-card { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .4); }
