/* Tempat Terdekat 1.1: visual layer for the directory redesign. */
:root {
 --ttd-ink: #112f40;
 --ttd-muted: #5c7080;
 --ttd-line: #dce8eb;
 --ttd-soft: #f3f7f8;
 --ttd-width: 1200px;
 --ttd-radius: 12px;
}
body { line-height: 1.55; }
.ttd-header { background: #fff; position: relative; z-index: 2; border-color: #e7eef0; }
.ttd-header-inner { min-height: 74px; padding-block: 10px; }
.ttd-brand img { max-width: 260px; max-height: 56px; }
.ttd-nav a { font-size: .95rem; font-weight: 550; }
.ttd-header-actions { gap: 38px; }
.ttd-header-cta { box-shadow: 0 5px 14px #087f8020; }
.ttd-hero {
 position: relative;
 isolation: isolate;
 overflow: hidden;
 background: linear-gradient(180deg,#e5f8f6 0%,#d9f5f2 100%);
 padding: 38px 0 42px;
 text-align: center;
}
.ttd-hero::before,.ttd-hero::after {
 content: ""; position: absolute; bottom: 116px; width: 205px; height: 115px;
 background: url('directory-scene.svg') center bottom / contain no-repeat;
 pointer-events: none; z-index: -1;
}
.ttd-hero::before { left: max(-20px,calc((100vw - 1480px)/2)); }
.ttd-hero::after { right: max(-20px,calc((100vw - 1480px)/2)); transform: scaleX(-1); }
.ttd-hero-inner { position: relative; z-index: 1; }
.ttd-eyebrow {
 display: inline-block; padding: 5px 15px; border-radius: 100px;
 background: #c5eeea; color: #087f80; text-transform: uppercase;
 font-size: .8rem; font-weight: 800; letter-spacing: .025em; margin-bottom: 14px;
}
.ttd-hero h1 { max-width: 1100px; font-size: clamp(2rem,3.4vw,3.15rem); margin-bottom: 5px; font-weight: 760; }
.ttd-hero p { font-size: clamp(1rem,1.5vw,1.22rem); color: #526777; }
.ttd-search {
 max-width: 975px; margin: 32px auto 0; padding: 10px;
 display: grid; grid-template-columns: minmax(0,1.45fr) minmax(190px,.65fr) 116px;
 gap: 0; align-items: center;
 background: #fff; border-radius: 12px; box-shadow: 0 12px 32px #18495418;
}
.ttd-search label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ttd-search-keyword { min-width: 0; }
.ttd-search-location { border-left: 1px solid var(--ttd-line); min-width: 0; }
.ttd-search input,.ttd-search select { border: 0; border-radius: 0; min-height: 48px; background: transparent; }
.ttd-search input { padding-left: 46px; }
.ttd-search select { padding-left: 16px; cursor: pointer; }
.ttd-input-wrap>.ttd-icon { top: 14px; }
.ttd-search button { min-height: 48px; border-radius: 8px; }
.ttd-categories { max-width: 1030px; margin: 39px auto 0; }
.ttd-category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.ttd-category-tile {
 display: flex; min-height: 86px; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
 background: #fff; color: var(--ttd-ink); border: 1px solid #c9e2e5; border-radius: 14px;
 font-size: .91rem; font-weight: 700; padding: 10px; box-shadow: 0 3px 12px #114c5110;
}
.ttd-category-tile .ttd-icon { width: 28px; height: 28px; color: var(--ttd-accent); }
.ttd-category-tile:hover,.ttd-category-tile[aria-current=page] { border-color: var(--ttd-accent); background: #f7fdfc; text-decoration: none; transform: translateY(-2px); }
.ttd-hero-archive { padding-top: 34px; }
.ttd-hero-archive .ttd-tax-description { max-width: 720px; margin: 0 auto; color: #526777; }
.ttd-hero-archive .ttd-tax-description p { margin-bottom: 0; }
.ttd-directory { padding-top: 35px; padding-bottom: 20px; }
.ttd-section-head { align-items: center; margin-bottom: 10px; }
.ttd-section-head h2 { font-size: clamp(1.55rem,2.2vw,2rem); margin-bottom: 2px; }
.ttd-section-head p { color: var(--ttd-muted); margin: 0; font-size: .94rem; }
.ttd-section-head>a { display: inline-flex; gap: 6px; align-items: center; font-size: .95rem; }
.ttd-section-head>a .ttd-icon { width: 17px; height: 17px; }
.ttd-result-note { width: max-content; max-width: 100%; background: #edf3f4; padding: 3px 10px; border-radius: 6px; margin: 0 0 16px; color: var(--ttd-ink); font-size: .82rem; }
.ttd-section-head .ttd-result-note { margin: 5px 0 0; }
.ttd-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.ttd-card { border-radius: 12px; box-shadow: 0 4px 14px #142f4010; transition: box-shadow .2s ease,transform .2s ease; }
.ttd-card:hover { box-shadow: 0 12px 26px #142f401c; transform: translateY(-2px); }
.ttd-card-image { aspect-ratio: 1.65 / 1; background: #edf5f4; }
.ttd-card-image img { width: 100%; height: 100%; object-fit: contain; }
.ttd-card-image:hover img { transform: none; }
.ttd-card-content { padding: 13px 18px 17px; }
.ttd-category { display: inline-block; width: max-content; max-width: 100%; background: #e4f5f2; border-radius: 100px; padding: 3px 10px; font-size: .78rem; margin-bottom: 6px; line-height: 1.4; }
.ttd-card h3 { margin-bottom: 3px; font-size: 1.1rem; }
.ttd-card-location { margin-bottom: 10px; }
.ttd-card-more { margin-top: auto; }
.ttd-ads { margin: 10px 0 24px; }
.ttd-ad-demo { min-height: 80px; border-radius: 10px; background: #edf2f5; }
.ttd-footer { background: #083d4c; border: 0; color: #f5fbfc; padding: 30px 0 16px; margin-top: 18px; }
.ttd-footer-main { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.8fr); gap: 50px; align-items: start; padding-bottom: 21px; }
.ttd-footer-about p { max-width: 340px; margin: 5px 0 0; font-size: .85rem; color: #d4e7e9; }
.ttd-footer .ttd-brand img { max-width: 220px; max-height: 44px; filter: brightness(0) invert(1); }
.ttd-footer .ttd-brand { color: #fff; }
.ttd-footer h2 { font-size: .92rem; letter-spacing: 0; margin: 4px 0 8px; color: #fff; }
.ttd-footer-links { display: flex; flex-direction: column; gap: 5px; }
.ttd-footer-links a { color: #e6f1f2; font-size: .83rem; }
.ttd-footer-copy { border-top: 1px solid #ffffff55; padding-top: 10px; margin: 0; color: #d4e7e9; font-size: .76rem; }
.ttd-place-detail { padding-top: 0; }
.ttd-place-title h1 { font-size: clamp(2rem,3vw,2.75rem); }
.ttd-place-photo { border-radius: 14px; }
.ttd-contact-box { border-radius: 14px; box-shadow: 0 5px 18px #142f400d; }
@media (max-width: 980px) {
 .ttd-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ttd-hero::before,.ttd-hero::after { opacity: .45; }
}
@media (max-width: 740px) {
 .ttd-header-inner { min-height: 66px; }
 .ttd-header-actions { gap: 12px; }
 .ttd-hero { padding: 32px 0; }
 .ttd-hero::before,.ttd-hero::after { display: none; }
 .ttd-search { grid-template-columns: minmax(0,1fr) 112px; padding: 8px; gap: 5px; max-width: 600px; }
 .ttd-search-keyword { grid-column: 1 / -1; border-bottom: 1px solid var(--ttd-line); }
 .ttd-search-location { border-left: 0; }
 .ttd-search input,.ttd-search select { font-size: 16px; }
 .ttd-categories { margin-top: 26px; }
 .ttd-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
 .ttd-category-tile { min-height: 75px; font-size: .84rem; }
 .ttd-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .ttd-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
 .ttd-hero h1 { font-size: clamp(1.8rem,8vw,2.3rem); }
 .ttd-grid { grid-template-columns: 1fr; gap: 15px; }
 .ttd-card-image { aspect-ratio: 1.65 / 1; }
 .ttd-section-head { align-items: flex-start; }
 .ttd-section-head>a { margin-top: 6px; font-size: .85rem; }
 .ttd-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ttd-footer-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
 .ttd-card,.ttd-category-tile { transition: none; }
 .ttd-card:hover,.ttd-category-tile:hover { transform: none; }
}
