/* Offer page layout. Colors, type, buttons, hero, facts and contact come from ../styles.css. */
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: rgba(29, 35, 32, .07); }
.facts b { font-size: 1.45rem; }

section.product, section.prices, section.steps, section.faq { max-width: 1300px; margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px) 0; }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.product.flip .product-text { order: 2; }
.product .lead { margin: 12px 0 14px; }
.product figure img { aspect-ratio: 3 / 2; }

.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card.plain { background: transparent; }
.card.plain { grid-column: 1 / -1; }
.card.plain .ticks { columns: 2; column-gap: 32px; }
.card.plain .ticks li { break-inside: avoid; }
.card h3 { font-size: 1.35rem; }
.for { margin: 2px 0 16px; color: var(--muted); font-size: .92rem; }
.card .ticks { margin-bottom: 0; font-size: .95rem; }

.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(step); font: 600 1.5rem var(--serif); color: var(--accent); }
.steps li span { color: var(--muted); font-size: .95rem; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.contact select { background-color: #262d29; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%23c9d0cb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 14px center; color: #fff; border-color: #47504b; padding: 13px 38px 13px 14px; border-radius: 10px; font-size: 1rem; }
.contact form { min-width: 0; }
.contact select { width: 100%; min-width: 0; text-overflow: ellipsis; }

/* language switch: stays in the header on phones, where the other links are hidden */
.top nav { white-space: nowrap; }
/* the section links do not fit next to the brand on tablets, so they go before the header wraps */
@media (max-width: 900px) { .top nav a:not(.btn):not(.lang) { display: none; } }

@media (max-width: 980px) {
  .product { grid-template-columns: 1fr; }
  .product.flip .product-text { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps ol { grid-template-columns: 1fr; }
  .card.plain .ticks { columns: 1; }
}

/* package comparison: scrolls sideways on phones, the feature column stays put */
.compare-title { font-size: 1.35rem; margin: 40px 0 14px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.compare-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); border-bottom: 0; white-space: normal; }
/* undo the apartment list rules from ../styles.css (uppercase sticky headers, clickable rows) */
.compare th { position: static; top: auto; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: inherit; }
.compare tbody tr { cursor: default; }
.compare tbody tr:hover { background: none; }
.compare thead th { border-top: 0; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }
.compare td.y { color: var(--accent); font-weight: 600; }
.compare td.n { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .compare { min-width: 640px; font-size: .86rem; }
  .compare tbody th { width: 128px; min-width: 128px; }
  .compare th[scope="row"] { box-shadow: 1px 0 0 var(--line); }
}

.about p { max-width: 64ch; font-size: 1.05rem; margin: 0; }
.direct { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 22px 0 0; color: #c9d0cb; }
.direct dt { color: #98a19b; }
.direct dd { margin: 0; color: #fff; }
