/* TTO Business Websites — front end */

/* ---------- Listing page additions (only when paid) ---------- */
.ttob-titlewrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ttob-titlewrap > h1 { margin-bottom: 0; }
.ttob-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--ttob-c, #2E7D3E) 12%, #fff);
	color: color-mix(in srgb, var(--ttob-c, #2E7D3E) 80%, #000);
	font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none !important;
}
.ttob-badge:hover { background: color-mix(in srgb, var(--ttob-c, #2E7D3E) 20%, #fff); }
.ttob-badge .ttob-ico { width: 14px; height: 14px; stroke-width: 2.5; }

.ttob-line {
	display: flex; align-items: flex-start; gap: 12px;
	margin-top: 12px; padding-top: 12px; border-top: 1px solid #E6E8E5;
	font-size: 15px; line-height: 1.5;
}
.ttob-line .ttob-ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--ttob-c, #2E7D3E); }
.ttob-line a { word-break: break-all; font-weight: 600; }

.ttob-site-card {
	margin-top: 16px; padding: 20px 22px; border-radius: 8px;
	background: var(--ttob-c, #2E7D3E); color: #fff;
	display: flex; flex-direction: column; gap: 10px;
}
.ttob-site-card-k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.ttob-site-card-u { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 14px; font-weight: 600; word-break: break-all; }
.ttob-site-card-b {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 18px; border-radius: 999px;
	background: #fff; color: var(--ttob-c, #2E7D3E) !important;
	font-weight: 800; text-decoration: none !important;
}
.ttob-site-card-b:hover { background: #F1F4F1; }
.ttob-site-card-b .ttob-ico { width: 16px; height: 16px; stroke-width: 2.5; }

/* ---------- The /b/ website ---------- */
.ttob { --ttob-c: #2E7D3E; --ttob-navy: #1B2A41; --ttob-gold: #D9B44A; --ttob-ink: #1B2A41; --ttob-muted: #34445C; --ttob-line: #E1E5DF;
	background: #F4F6F3; color: var(--ttob-ink); }
.ttob *, .ttob *::before, .ttob *::after { box-sizing: border-box; }
.ttob-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ttob a { color: #1F5FA8; }
.ttob-ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.ttob-urlbar { background: #fff; border-bottom: 1px solid var(--ttob-line); font-size: 14px; }
.ttob-urlbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.ttob-url { display: inline-flex; align-items: center; gap: 8px; color: var(--ttob-muted); font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; }
.ttob-url .ttob-ico { width: 16px; height: 16px; color: var(--ttob-c); }
.ttob-url strong { color: var(--ttob-c); }
.ttob-urlbar-actions { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ttob-copy {
	min-height: 36px; padding: 0 14px; border-radius: 6px; border: 1px solid #C9D1C6;
	background: #fff; color: var(--ttob-ink); font: inherit; font-weight: 600; cursor: pointer;
}
.ttob-copy:hover { border-color: var(--ttob-c); }

.ttob-head { background: var(--ttob-c); color: #fff; }
.ttob-head .ttob-wrap { padding-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.ttob-head-index .ttob-wrap { padding-bottom: 32px; gap: 8px; }
.ttob-id { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ttob-letter {
	width: 72px; height: 72px; border-radius: 10px; background: #fff; color: var(--ttob-c);
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 38px; flex-shrink: 0;
}
.ttob-letter-sm { width: 48px; height: 48px; font-size: 24px; border-radius: 8px; background: var(--ttob-c); color: #fff; }
.ttob .ttob-name { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; font-weight: 800; }
.ttob-sub { margin: 4px 0 0; font-size: 15px; opacity: .92; }
.ttob-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ttob .ttob-tabs a {
	min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center;
	color: #fff; font-weight: 600; text-decoration: none; border-radius: 8px 8px 0 0;
}
.ttob .ttob-tabs a:hover { background: rgba(255,255,255,.14); }
.ttob .ttob-tabs a.is-on { background: #F4F6F3; color: var(--ttob-c); font-weight: 700; }

.ttob-main { padding-top: 40px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.ttob-card { background: #fff; border: 1px solid var(--ttob-line); border-radius: 10px; padding: 28px; }
.ttob .ttob-h { margin: 0 0 14px; font-size: 26px; line-height: 1.2; color: var(--ttob-ink); }
.ttob .ttob-h-lg { font-size: 32px; margin-bottom: 6px; }
.ttob-prose { font-size: 17px; line-height: 1.65; color: var(--ttob-muted); }
.ttob-prose p { margin: 0 0 1em; }
.ttob-prose p:last-child { margin-bottom: 0; }
.ttob-muted { color: var(--ttob-muted); margin: 0 0 16px; }

.ttob-about { display: flex; gap: 28px; flex-wrap: wrap; align-items: stretch; }
.ttob-about-text { flex: 1 1 520px; }
.ttob-about-photo { flex: 1 1 340px; min-height: 280px; border-radius: 10px; overflow: hidden; background: #E4EAE2; }
.ttob-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ttob-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ttob-tile { padding: 22px; }
.ttob-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5A6B5E; }
.ttob .ttob-tile-v { display: block; margin-top: 6px; font-size: 24px; font-weight: 700; color: var(--ttob-ink); text-decoration: none; }
.ttob .ttob-tile-sm { font-size: 17px; font-weight: 600; line-height: 1.45; }

.ttob-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ttob-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #E4EAE2; }
.ttob-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ttob-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ttob-service { padding: 24px; }
.ttob-service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ttob .ttob-service h3 { margin: 0; font-size: 21px; color: var(--ttob-ink); }
.ttob-price { font-weight: 700; color: var(--ttob-c); white-space: nowrap; }
.ttob-service p { margin: 10px 0 0; color: var(--ttob-muted); line-height: 1.6; }
.ttob-ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; font-size: 16px; }
.ttob-ticks li { display: flex; gap: 10px; align-items: center; margin: 0; }
.ttob-ticks .ttob-ico { color: var(--ttob-c); stroke-width: 2.5; }

.ttob-contact { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.ttob-form-card { flex: 1 1 520px; }
.ttob-side { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.ttob-side .ttob-card { padding: 22px; }
.ttob .ttob-details-h { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: var(--ttob-ink); }
.ttob-dl { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #EEF1EC; font-size: 15px; line-height: 1.5; }
.ttob-details-h + .ttob-dl { border-top: 0; padding-top: 0; }
.ttob-dl .ttob-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--ttob-c); }
.ttob-dl a { word-break: break-word; }
.ttob-hours { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.ttob-hours td { padding: 6px 0; border: 0; }
.ttob-hours td + td { text-align: right; }
.ttob-map { height: 260px; border-radius: 10px; overflow: hidden; border: 1px solid var(--ttob-line); background: #E9EEE6; }

.ttob-form p { margin: 0 0 16px; }
.ttob-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.ttob-form input[type=text], .ttob-form input[type=email], .ttob-form input[type=tel], .ttob-form textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #C9D1C6; border-radius: 8px;
	font: inherit; background: #fff; color: var(--ttob-ink);
}
.ttob-form textarea { resize: vertical; }
.ttob-form input:focus, .ttob-form textarea:focus { outline: 2px solid var(--ttob-c); outline-offset: 1px; border-color: var(--ttob-c); }
.ttob-row { display: flex; gap: 16px; flex-wrap: wrap; }
.ttob-row > p { flex: 1 1 220px; }
.ttob-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ttob-note { padding: 12px 16px; border-radius: 8px; font-weight: 600; margin: 0 0 16px; }
.ttob-note-ok { background: #E3F1E6; color: #1E5A2E; }
.ttob-note-bad { background: #FBE7E4; color: #8A2418; }

.ttob .ttob-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
	border: 0; border-radius: 8px; background: var(--ttob-c, #2E7D3E); color: #fff; font: inherit; font-weight: 700;
	text-decoration: none; cursor: pointer;
}
.ttob .ttob-btn:hover { filter: brightness(.92); }
.ttob .ttob-btn-gold { background: var(--ttob-gold); color: var(--ttob-navy); }

.ttob-cta {
	background: var(--ttob-navy); color: #fff; border-radius: 10px; padding: 26px 28px;
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.ttob-cta-t { font-size: 24px; font-weight: 700; }

.ttob-foot { background: #fff; border-top: 1px solid var(--ttob-line); font-size: 14px; color: var(--ttob-muted); }
.ttob-foot-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.ttob-foot strong { color: var(--ttob-c); }

.ttob-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ttob .ttob-index-item { display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--ttob-ink); }
.ttob .ttob-index-item:hover { border-color: var(--ttob-c); }
.ttob-index-item strong { display: block; font-size: 17px; }
.ttob-mono { display: block; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 12px; color: var(--ttob-muted); margin-top: 2px; word-break: break-all; }

@media (max-width: 600px) {
	.ttob .ttob-tabs a { padding: 0 14px; }
	.ttob-card { padding: 20px; }
	.ttob-cta-t { font-size: 20px; }
}

/* Preview banner */
.ttob-preview { background: #FCF1D6; color: #5C4300; font-size: 15px; border-bottom: 1px solid #EBD9A4; }
.ttob-preview .ttob-wrap { padding-top: 10px; padding-bottom: 10px; }

/* Request form (shortcode) */
.ttob-embed { background: transparent; margin: 24px 0; }
.ttob-embed .ttob-card { padding: 28px; }
.ttob-form select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #C9D1C6; border-radius: 8px; font: inherit; background: #fff; }
.ttob-prefixed { display: flex; align-items: stretch; border: 1px solid #C9D1C6; border-radius: 8px; overflow: hidden; background: #fff; }
.ttob-prefixed > span { display: flex; align-items: center; padding: 0 10px; background: #F1F3F0; color: #34445C; font-family: ui-monospace, Menlo, monospace; font-size: 13px; white-space: nowrap; }
.ttob .ttob-prefixed input { border: 0 !important; border-radius: 0 !important; min-width: 0; }
.ttob-check label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.5; }
.ttob-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }

/* Business logo in the website header (replaces the letter square) */
.ttob-logo { width: 72px; height: 72px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; padding: 6px; }
.ttob-logo-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.ttob-gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Request form: picture uploads */
.ttob-form input[type=file] { display: block; width: 100%; padding: 10px; border: 1px dashed #A7B3A4; border-radius: 8px; background: #FAFBF9; font: inherit; font-size: 14px; }
.ttob-hint { display: block; margin-top: 6px; font-size: 13px; color: #5A6B5E; }
