/* Service pages: the Front-Desk Ledger (see DESIGN.md).
   Olive ground, paper bands, 3px top rules and hairlines instead of cards. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #3E3D35;
  --primary-deep: #2f2e28;
  --secondary: #89826E;
  --muted: #6E6959;
  --on-dark: rgba(255,255,255,0.8);
  --on-dark-khaki: #B5AE9A;
  --bg: #F8F8F4;
  --rule: #dcd9cf;
  --tag: #e9e7df;
  --secondary-light: rgba(137,130,110,0.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'Avenir', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--primary); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
.service-hero a:focus-visible, .cta-banner a:focus-visible, .mid-cta a:focus-visible, #site-nav a:focus-visible, #site-nav button:focus-visible { outline-color: #fff; }

.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); padding: 1.25rem 0 1rem; }
.breadcrumb a { color: var(--muted); text-underline-offset: 3px; padding: 0.5rem 0; display: inline-block; }
.breadcrumb a:hover { color: var(--primary); }

/* Hero: olive ground, full bleed */
.service-hero { background: var(--primary); color: #fff; padding: 4.5rem 0; box-shadow: 0 0 0 100vmax var(--primary); clip-path: inset(0 -100vmax); }
.service-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; margin-bottom: 1.25rem; }
.service-hero p { font-size: 1.08rem; color: var(--on-dark); max-width: 60ch; line-height: 1.65; margin-bottom: 2rem; }
.hero-cta-row { display: flex; gap: 1.25rem 1.5rem; flex-wrap: wrap; align-items: center; }
.hero-cta, .cta-btn, .mid-cta > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--bg); color: var(--primary); font-weight: 700; font-size: 1rem;
  min-height: 52px; padding: 0.9rem 1.75rem; border-radius: 8px; text-decoration: none;
  transition: transform 0.2s cubic-bezier(.16,1,.3,1), box-shadow 0.2s cubic-bezier(.16,1,.3,1);
}
.hero-cta:hover, .cta-btn:hover, .mid-cta > a:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.hero-cta:active, .cta-btn:active, .mid-cta > a:active { transform: translateY(1px); }
.hero-cta-secondary, .cta-btn-secondary {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0.9rem 1.5rem;
  color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,0.5); border-radius: 8px; text-decoration: none;
}
.hero-cta-secondary:hover, .cta-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hero-badge { color: var(--on-dark-khaki); font-size: 0.95rem; font-weight: 600; }

/* Quick answer: a ruled plain-language summary */
.quick-answer { border-top: 3px solid var(--primary); padding: 1.5rem 0 0; margin: 3rem 0 0; max-width: 78ch; }
.quick-answer .qa-label { display: none; }
.quick-answer p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.quick-answer a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }

/* Sections: ledger rule then content */
.section-block { margin: 0; padding: 3.75rem 0 0; }
.section-block:last-of-type { padding-bottom: 3.75rem; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; color: var(--primary); margin-bottom: 1.25rem; padding-top: 1.25rem; border-top: 3px solid var(--primary); }
.section-block p { max-width: 68ch; margin-bottom: 1rem; color: var(--primary); line-height: 1.65; }
.section-block p a, .section-block li a, .faq-answer-inner a, .highlight-box a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.section-block ul.prose-list, .section-block > ul { list-style: none; max-width: 68ch; margin: 0.5rem 0 1.25rem; }
.section-block > ul > li { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); line-height: 1.55; }
.section-block > ul > li a { display: inline-block; padding: 0.15rem 0; }
.link-cols { columns: 2; column-gap: 3rem; max-width: none !important; }
.link-cols > li { break-inside: avoid; }

/* Screenshot */
.pms-screenshot { margin: 2rem 0 0; }
.pms-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 32px rgba(62,61,53,0.14); }
.pms-screenshot figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.55; max-width: 68ch; }

/* Features: ledger rows, not cards */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; margin-top: 1.5rem; }
.feature-card { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.feature-card h3, .feature-card h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.98rem; color: var(--muted); line-height: 1.6; margin: 0; max-width: 60ch; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
.comparison-table, .bill-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comparison-table th { text-align: left; font-size: 0.95rem; font-weight: 700; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 3px solid var(--primary); }
.comparison-table td { padding: 0.85rem 1rem 0.85rem 0; font-size: 0.98rem; color: var(--muted); border-bottom: 1px solid var(--rule); vertical-align: top; }
.comparison-table tbody th { font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--rule); }
.comparison-table td a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.facts-table th { width: 26%; }
.bill-table { max-width: 480px; }
.bill-table td { padding: 0.7rem 0; font-size: 1rem; color: var(--muted); border-bottom: 1px solid var(--rule); }
.bill-table tr:last-child td { color: var(--primary); font-weight: 700; border-bottom: 0; border-top: 2px solid var(--primary); }
.bill-table td:last-child { text-align: right; }

/* Note box: hairline, no coloured side stripe */
.highlight-box { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.1rem 0; margin: 1.5rem 0; max-width: 68ch; }
.highlight-box p { margin: 0; color: var(--muted); line-height: 1.65; }
.highlight-box strong { color: var(--primary); }

/* Mid-page CTA: olive band */
.mid-cta { background: var(--primary); color: #fff; border-radius: 10px; padding: 2rem 2.25rem; margin: 2.5rem 0 0; }
.mid-cta .headline { font-size: 1.35rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; max-width: 30ch; margin-bottom: 0.6rem; }
.mid-cta p { color: var(--on-dark); margin-bottom: 1.25rem; max-width: 56ch; }
.mid-cta p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Who it is for: two ledger columns */
.who-grid { display: grid; grid-template-columns: 1.4fr 1fr; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.who-card { padding: 1.5rem 2.25rem 0 0; }
.who-card + .who-card { padding: 1.5rem 0 0 2.25rem; border-left: 1px solid var(--rule); }
.who-card .card-label { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.who-card ul { list-style: none; }
.who-card ul li { padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.5; color: var(--muted); }
.who-card ul li::before { content: ""; position: absolute; left: 0.15rem; top: 0.85rem; width: 0.4rem; height: 0.7rem; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.who-card.not-for ul li::before { width: 0.6rem; height: 0; border-width: 2px 0 0; transform: none; top: 1.15rem; border-color: var(--secondary); }

/* FAQ: hairline ledger with real buttons */
.faq-list { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 1.25rem 0; min-height: 56px; font: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--muted); flex-shrink: 0; transition: transform 0.2s cubic-bezier(.16,1,.3,1); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(.16,1,.3,1); }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 0 1.35rem; color: var(--muted); line-height: 1.7; max-width: 68ch; }

/* Related tools: hairline list */
.explore-tools { margin: 2.5rem 0 0; }
.explore-tools h3 { font-size: 1.05rem; font-weight: 700; padding-top: 1rem; border-top: 3px solid var(--primary); margin-bottom: 0.25rem; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
.tool-link { display: block; text-decoration: none; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); color: var(--primary); }
.tool-link .tl-type { display: none; }
.tool-link .tl-name { font-weight: 700; margin-bottom: 0.2rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.tool-link:hover .tl-name { text-decoration-color: currentColor; }
.tool-link .tl-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

/* Closing band */
.cta-banner { background: var(--primary); color: #fff; margin: 3.75rem 0 0; padding: 4.5rem 0; text-align: center; box-shadow: 0 0 0 100vmax var(--primary); clip-path: inset(0 -100vmax); }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; margin: 0 auto 0.75rem; max-width: 24ch; }
.cta-banner p { color: var(--on-dark); margin: 0 auto 1.75rem; max-width: 52ch; line-height: 1.6; }
.cta-btn-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 1024px) {
  .tools-grid, .feature-grid { column-gap: 2.5rem; }
}
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-card, .who-card + .who-card { padding: 1.5rem 0 0; border-left: 0; }
}
@media (max-width: 720px) {
  .page-wrapper { padding: 0 1.25rem; }
  .service-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .section-block { padding-top: 3rem; }
  .feature-grid, .tools-grid { grid-template-columns: 1fr; }
  .link-cols { columns: 1; }
  .hero-cta, .cta-btn { width: 100%; }
  .hero-badge { width: 100%; }
  .mid-cta { padding: 1.5rem 1.25rem; }
  .mid-cta > a { width: 100%; }
  .cta-banner { padding: 3.25rem 0; }
  .facts-table th { width: 34%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta, .cta-btn, .mid-cta > a, .faq-question::after, .faq-answer { transition: none; }
  html { scroll-behavior: auto; }
}

/* Sub-sections, captions and on-paper CTA rows used by segment and country pages */
.section-block h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: 2rem 0 0.75rem; }
.bill-caption { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.5rem; }
.cta-on-paper { margin: 0 0 2.5rem; }
.cta-on-paper .cta-btn { background: var(--primary); color: #fff; }
.cta-on-paper .cta-btn:hover { background: var(--primary-deep); }
.mt-lg { margin-top: 1.5rem; }

/* Services hub */
.hub-hero { padding-bottom: 4.5rem; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.9rem 1.75rem; border-radius: 8px; background: #25D366; color: #0E3B22; font-weight: 700; text-decoration: none; transition: transform 0.2s cubic-bezier(.16,1,.3,1), background 0.2s; }
.btn-wa:hover { background: #20bd5a; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.9rem 1.75rem; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; transition: transform 0.2s cubic-bezier(.16,1,.3,1), background 0.2s; }
.btn-dark:hover { background: var(--primary-deep); transform: translateY(-2px); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3.75rem; border-top: 3px solid var(--primary); }
.offer { padding: 2rem 2.5rem 0 0; display: flex; flex-direction: column; }
.offer + .offer { padding: 2rem 0 0 2.5rem; border-left: 1px solid var(--rule); }
.offer h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.offer > p { color: var(--muted); line-height: 1.65; max-width: 52ch; margin-bottom: 1.25rem; }
.offer ul { list-style: none; margin-bottom: 1.75rem; }
.offer li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.offer-actions { display: flex; gap: 0.75rem 1.5rem; flex-wrap: wrap; align-items: center; margin-top: auto; padding-bottom: 0.5rem; }
.offer-actions .text-link, .row-link { color: var(--primary); font-weight: 600; text-underline-offset: 3px; padding: 0.75rem 0; }
.offer-note { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }
.hub-section { padding: 3.75rem 0 0; }
.hub-section h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; padding-top: 1.25rem; border-top: 3px solid var(--primary); margin-bottom: 0.5rem; }
.hub-section > p { color: var(--muted); max-width: 62ch; line-height: 1.65; margin-bottom: 1rem; }
.hub-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.hub-row { display: block; text-decoration: none; color: var(--primary); padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.hub-row h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.hub-row:hover h3 { text-decoration-color: currentColor; }
.hub-row p { color: var(--muted); line-height: 1.55; max-width: 48ch; }
.place-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 0.5rem; }
.place-list a { display: inline-block; padding: 0.75rem 0; color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.place-label { font-weight: 700; margin-top: 1.5rem; }
@media (max-width: 900px) {
  .offer-grid, .hub-rows { grid-template-columns: 1fr; }
  .offer, .offer + .offer { padding: 2rem 0 0; border-left: 0; }
  .offer + .offer { margin-top: 2rem; border-top: 3px solid var(--primary); }
}
@media (max-width: 720px) {
  .offer-actions .btn-dark, .offer-actions .btn-wa { width: 100%; }
}

/* Shared blocks on the OTA, booking-engine and billing pages */
.seo-intro { border-top: 3px solid var(--primary); padding-top: 1.5rem; margin-top: 3rem; max-width: 78ch; }
.seo-question { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 0.75rem; text-wrap: balance; }
.seo-intro p { color: var(--muted); line-height: 1.65; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; margin-top: 1.5rem; }
.platform-card { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.platform-name { font-size: 1.1rem; font-weight: 700; }
.platform-tag { font-size: 0.95rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.platform-card p { color: var(--muted); line-height: 1.6; max-width: 56ch; margin-bottom: 0.5rem; }
.platform-commission { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; margin-top: 1.5rem; }
.why-card { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.35rem; }
.why-card p { color: var(--muted); line-height: 1.6; max-width: 56ch; margin: 0; }
.steps, .steps-list { list-style: none; margin: 1.5rem 0; border-top: 1px solid var(--rule); counter-reset: step; }
.step-box, .steps-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.step-num { font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.step-content p, .step-text { color: var(--muted); line-height: 1.6; max-width: 62ch; }
.steps-list li { counter-increment: step; }
.steps-list li::before { content: counter(step); font-weight: 700; font-size: 1.3rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pricing-card { border-top: 3px solid var(--primary); padding-top: 1.5rem; margin-top: 1.5rem; max-width: 760px; }
.pricing-label { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.pricing-card h3 { margin: 0.25rem 0 0.5rem; font-size: 1.2rem; font-weight: 700; }
.pricing-amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.pricing-amount span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-divider { display: none; }
.pricing-features { list-style: none; margin-bottom: 1.75rem; }
.pricing-features li { padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.5; color: var(--muted); }
.pricing-features li::before { content: ""; position: absolute; left: 0.15rem; top: 0.85rem; width: 0.4rem; height: 0.7rem; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pricing-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.9rem 1.75rem; border: 0; border-radius: 8px; background: var(--primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: transform 0.2s cubic-bezier(.16,1,.3,1), background 0.2s; }
.pricing-cta:hover { background: var(--primary-deep); transform: translateY(-2px); }
.pricing-cta:active { transform: translateY(1px); }
.property-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.property-tag { background: var(--tag); color: var(--primary); font-size: 0.9rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 4px; }
.fine-print { font-size: 0.9rem; color: var(--muted); margin-top: 0.85rem; max-width: 68ch; }
.pms-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.25rem 0; margin-top: 2.5rem; max-width: 68ch; }
.pms-band p { margin: 0 0 0.75rem; color: var(--muted); }
.pms-band a { font-weight: 600; color: var(--primary); text-underline-offset: 3px; }
@media (max-width: 720px) {
  .platform-grid, .why-grid { grid-template-columns: 1fr; }
  .pricing-cta, .hero-cta { width: 100%; }
}
.step-text h3, .step-content h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.step-text p, .step-content p { margin: 0; color: var(--muted); line-height: 1.6; }
button.hero-cta { border: 0; font-family: inherit; cursor: pointer; }
.tools-grid { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem; align-items: center; }
.hero-shot { margin: 0; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.hero-shot figcaption { font-size: 0.9rem; color: var(--on-dark-khaki); margin-top: 0.75rem; line-height: 1.5; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: 1fr; gap: 2.25rem; } }
.inline-cta { display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.25rem 0; margin-top: 2rem; }
.inline-cta p { margin: 0; max-width: 52ch; color: var(--muted); }
.inline-cta p strong { color: var(--primary); }
@media (max-width: 720px) { .inline-cta .btn-dark { width: 100%; } }
