/* ======================================================
   Tuopu — additions for the dynamic (Laravel) version.
   The approved design lives untouched in style.css.
   ====================================================== */

/* Solid header for pages that don't start with a photo */
.site-header.solid { position: relative; background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 60%, var(--teal-2) 100%); }
.site-header.solid .mobile-nav { top: 100%; }
a.logo { color: inherit; }

/* Service cards: fewer than 6 cards fill the row nicely */
.services-grid[data-cols] { grid-template-columns: repeat(var(--cols), 1fr); }
@media (max-width: 1100px) { .services-grid[data-cols] { grid-template-columns: repeat(min(var(--cols), 3), 1fr); } }
@media (max-width: 600px) { .services-grid[data-cols] { grid-template-columns: 1fr; } }

/* Split CTA buttons */
.split-actions { justify-content: center; margin-top: 10px; }
.split-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; color: #bdeeff; }
.talk-grid .btn { margin-top: 4px; }
.btn-ghost-dark { background: transparent; border: 1.5px solid var(--line); color: var(--navy); }
.btn-ghost-dark:hover { border-color: #d9534f; color: #b52b27; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Rich text from the editor */
.rich > *:last-child { margin-bottom: 0; }
.rich p { max-width: none; }
.rich-narrow { max-width: 760px; margin: 0 auto; }
.rich h2 { font-size: 1.5rem; margin-top: 1.4em; }
.rich h3 { font-size: 1.2rem; margin-top: 1.3em; }
.rich ul, .rich ol { color: var(--ink-muted); padding-left: 1.3em; margin: 0 0 1em; }
.rich li { margin-bottom: .35em; }
.rich a { color: var(--teal-2); text-decoration: underline; text-underline-offset: 2px; }
.rich blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--teal); color: var(--navy); font-family: 'Sora', sans-serif; }
.rich img { border-radius: 12px; margin: 1.4em 0; height: auto; }
.rich figure { margin: 1.4em 0; }

/* Image + text block */
.image-text { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.image-text.image-right .image-text-photo { order: 2; }
.image-text-photo img { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(11,58,92,0.15); }
@media (max-width: 900px) {
  .image-text { grid-template-columns: 1fr; gap: 30px; }
  .image-text.image-right .image-text-photo { order: 0; }
}

/* Blog */
.blog-filters a { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.85rem; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--white); color: var(--ink-muted); transition: background 0.15s ease, color 0.15s ease; }
.blog-filters a.active, .blog-filters a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.blog-thumb { overflow: hidden; }
.blog-thumb-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e4f4fb 0%, #cdeaf6 100%); }
.blog-thumb-fallback svg { width: 42px; height: 42px; }
.blog-card h3 a:hover { color: var(--teal-2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; font-family: 'Sora', sans-serif; font-size: 0.88rem; }
.pager a { color: var(--teal-2); font-weight: 600; }
.pager .disabled { color: #b6c6cd; }
.pager-info { color: var(--ink-muted); }
.empty-note { text-align: center; margin: 0 auto; }

.post { max-width: 760px; margin: 0 auto; }
.post-title { font-size: 2.1rem; margin-top: 6px; }
.post-meta { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 26px; }
.post-body { font-size: 1.04rem; }
.post-back { margin-top: 34px; }

/* Forms */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,168,217,0.15); }
.form-error { color: #b52b27; background: #fdf0ef; border: 1px solid #f4cfcc; padding: 10px 14px; border-radius: 8px; font-size: 0.86rem; max-width: none; margin: 0 0 12px; }
.form-success { color: #1f6f46; background: #edf8f2; border: 1px solid #cbe9d8; padding: 12px 14px; border-radius: 8px; font-size: 0.9rem; max-width: none; }
.form-error.light, .form-success.light { margin-top: 8px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-muted); margin: 4px 0 12px; }
.consent input { margin-top: 3px; }
.consent a { color: var(--teal-2); text-decoration: underline; }
.newsletter-form button { border: none; }

/* Booking widget */
.reason-card { font: inherit; color: inherit; width: 100%; position: relative; }
.reason-card.selected { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal), 0 14px 28px rgba(11,58,92,0.1); }
.reason-card.selected::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.reason-meta { display: inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: .03em; color: var(--teal-2); background: var(--ice); padding: 3px 10px; border-radius: 20px; }
.booking-grid.single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.bk-service { font-size: 0.86rem; margin-bottom: 12px; max-width: none; }
.bk-service strong { color: var(--navy); }
.cal-header button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid .day { border: none; background: none; font: inherit; font-size: 0.85rem; }
.cal-grid .day.available { color: var(--navy); font-weight: 600; background: var(--ice); }
.cal-grid .day.available:hover { background: #d4edf7; }
.cal-grid .day.disabled { color: #c3cfd4; cursor: default; background: none; }
.cal-grid .day.selected, .cal-grid .day.selected:hover { background: var(--teal); color: var(--white); }
.cal-loading { grid-column: 1 / -1; padding: 30px 0; color: var(--ink-muted); font-size: 0.85rem; }
.bk-tz { font-size: 0.75rem; color: var(--ink-muted); margin: 10px 0 0; max-width: none; }
.bk-hint { font-size: 0.85rem; color: var(--ink-muted); margin: 0; max-width: none; }
.bk-day { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--navy); margin: 0 0 4px; }
.slot-list { max-height: 330px; overflow-y: auto; }
.slot-list button small { display: block; font-size: 0.74rem; opacity: .75; margin-top: 2px; }
.bk-back { background: none; border: none; color: var(--teal-2); font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 0; margin-bottom: 14px; }
.bk-summary { background: var(--ice); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 0.9rem; color: var(--ink); line-height: 1.55; }
.bk-summary strong { color: var(--navy); font-family: 'Sora', sans-serif; }
.bk-done { text-align: center; }
.bk-done-icon { width: 56px; height: 56px; margin: 6px auto 12px; border-radius: 50%; background: var(--grad-teal); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; }
.bk-done p { margin-left: auto; margin-right: auto; }
.bk-done .bk-summary { text-align: left; }
.read-more { color: var(--teal-2); font-weight: 600; font-size: 0.88rem; font-family: 'Sora', sans-serif; }

/* Manage booking page */
.manage-card { max-width: 560px; margin: 0 auto; }
.status-pill { display: inline-block; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: var(--ice); color: var(--teal-2); }
.status-confirmed { background: #e6f5ec; color: #1f6f46; }
.status-cancelled { background: #fdf0ef; color: #b52b27; }
.status-pending { background: #fff6e5; color: #94600b; }
.kicker-plain { display: block; font-family: 'Sora', sans-serif; font-weight: 700; color: var(--teal-2); font-size: 2.4rem; margin-bottom: 4px; }
