*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#1a1a2e;background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

/* Header */
.fd-header{background:#0d5a8c;color:#fff;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.fd-header-inner{max-width:1200px;margin:0 auto;padding:0 20px;height:56px;display:flex;align-items:center;gap:32px}
.fd-logo{font-size:20px;font-weight:700;color:#fff;display:flex;align-items:center;gap:6px}
.fd-nav{display:flex;gap:20px;margin-left:auto}
.fd-nav a{color:rgba(255,255,255,.85);font-size:14px;font-weight:500}
.fd-nav a:hover{color:#fff}

/* Hero */
.fd-hero{background:linear-gradient(135deg,#0d5a8c 0%,#1a7ab8 100%);padding:60px 20px 64px;color:#fff;text-align:center}
.fd-hero-inner{max-width:680px;margin:0 auto}
.fd-hero h1{font-size:clamp(26px,4vw,38px);font-weight:700;margin-bottom:10px;color:#fff}
.fd-hero-sub{font-size:15px;opacity:.85;margin-bottom:28px}
.fd-search-bar{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.fd-search-input{flex:1;min-width:200px;padding:12px 16px;border:none;border-radius:8px;font-size:15px;outline:none}
.fd-filter-cert{padding:12px 14px;border:none;border-radius:8px;font-size:14px;background:#fff;color:#333;min-width:130px}
.fd-search-btn{padding:12px 24px;background:#00a86b;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer}
.fd-search-btn:hover{background:#008f5a}
.fd-chips{display:flex;gap:8px;justify-content:center;margin-top:16px;flex-wrap:wrap;align-items:center}
.fd-chip-label{font-size:13px;opacity:.7}
.fd-chip{padding:5px 13px;border-radius:99px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);font-size:13px;color:#fff;cursor:pointer}
.fd-chip:hover{background:rgba(255,255,255,.25)}

/* Stats bar */
.fd-stats-bar{background:#f0f6fc;border-bottom:1px solid #d4e4f2}
.fd-stats-inner{max-width:1200px;margin:0 auto;padding:14px 20px;display:flex;gap:32px;justify-content:center}
.fd-stat{font-size:14px;color:#555}
.fd-stat strong{color:#0d5a8c;font-size:16px;margin-right:4px}

/* Home map section */
.fd-map-preview-section{padding:48px 20px}
.fd-section-inner{max-width:1200px;margin:0 auto}
.fd-section-inner h2{font-size:22px;font-weight:600;margin-bottom:16px;color:#0d5a8c}
#fd-home-map{border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1)}
.fd-btn-link{display:inline-block;margin-top:14px;color:#0d5a8c;font-size:14px;font-weight:500}

/* Archive */
.fd-archive{max-width:1200px;margin:0 auto;padding:20px}
.fd-archive-header{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.fd-view-toggle{display:flex;gap:4px;margin-left:auto}
.fd-view-btn{padding:8px 14px;border:1px solid #d0d0d0;border-radius:6px;background:#fff;font-size:13px;cursor:pointer;color:#555}
.fd-view-btn.active{background:#0d5a8c;color:#fff;border-color:#0d5a8c}
.fd-split{display:grid;grid-template-columns:1fr 400px;gap:20px;align-items:start}
.fd-result-count{font-size:13px;color:#666;margin-bottom:14px}
.fd-cards{display:flex;flex-direction:column;gap:10px}
.fd-card{display:block;background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:16px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.fd-card:hover{border-color:#0d5a8c;box-shadow:0 2px 10px rgba(13,90,140,.1)}
.fd-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:5px}
.fd-card-name{font-size:15px;font-weight:600;color:#1a1a2e}
.fd-cert{font-size:11px;font-weight:600;padding:3px 9px;border-radius:99px;white-space:nowrap}
.fd-cert.padi{background:#dbeffe;color:#0d4a7a}
.fd-cert.ssi{background:#fff0db;color:#7a4500}
.fd-cert.sdi{background:#dbf5e8;color:#0a5c2b}
.fd-cert.other{background:#f0f0f0;color:#555}
.fd-card-loc{font-size:12px;color:#888;margin-bottom:6px}
.fd-card-excerpt{font-size:13px;color:#666;line-height:1.5}
.fd-map-col{position:sticky;top:76px}
#fd-archive-map{height:calc(100vh - 180px);min-height:500px;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.1)}
.fd-pagination{margin-top:20px}
.fd-no-results{padding:40px;text-align:center;color:#888}

/* Single */
.fd-single-hero{background:#0d5a8c;color:#fff;padding:32px 20px 28px}
.fd-single-hero-inner{max-width:1100px;margin:0 auto}
.fd-breadcrumb{font-size:13px;opacity:.7;margin-bottom:8px}
.fd-breadcrumb a{color:rgba(255,255,255,.8)}
.fd-single-hero h1{font-size:clamp(22px,3vw,32px);font-weight:700;color:#fff;margin-bottom:10px}
.fd-single-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fd-single-city{font-size:14px;opacity:.85}
.fd-single-body{max-width:1100px;margin:0 auto;padding:32px 20px;display:grid;grid-template-columns:1fr 340px;gap:32px}
.fd-single-description{font-size:15px;line-height:1.8;color:#333;margin-bottom:24px}
.fd-single-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fd-fact{background:#f5f9fc;border-radius:8px;padding:12px 14px}
.fd-fact-label{display:block;font-size:11px;color:#888;margin-bottom:3px}
.fd-fact-val{font-size:14px;font-weight:500}
#fd-single-map{height:220px;border-radius:10px;margin-bottom:14px;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.fd-back-btn{display:inline-block;padding:10px 18px;border:1px solid #d0d0d0;border-radius:8px;font-size:13px;color:#555;width:100%;text-align:center}
.fd-back-btn:hover{background:#f5f5f5}

/* Page */
.fd-page{max-width:1200px;margin:0 auto;padding:32px 20px}
.fd-page h1{font-size:24px;margin-bottom:20px;color:#0d5a8c}

/* Footer */
.fd-footer{background:#0d2a3e;color:rgba(255,255,255,.6);padding:28px 20px;margin-top:60px}
.fd-footer-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}
.fd-footer-links{display:flex;gap:16px}
.fd-footer-links a{color:rgba(255,255,255,.5)}
.fd-footer-links a:hover{color:#fff}

/* Responsive */
@media(max-width:900px){
  .fd-split{grid-template-columns:1fr}
  .fd-map-col{display:none}
  .fd-single-body{grid-template-columns:1fr}
}
@media(max-width:600px){
  .fd-search-bar{flex-direction:column}
  .fd-search-input,.fd-filter-cert,.fd-search-btn{width:100%}
}

/* Footer expanded */
.fd-footer{background:#0d2a3e;color:rgba(255,255,255,.65);padding:40px 20px 20px;margin-top:60px}
.fd-footer-top{max-width:1200px;margin:0 auto 28px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.fd-footer-logo{font-size:18px;font-weight:700;color:#fff;margin-bottom:8px}
.fd-footer-brand p{font-size:13px;line-height:1.6;max-width:280px}
.fd-footer-links-group h4{font-size:12px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}
.fd-footer-links-group ul{list-style:none;display:flex;flex-direction:column;gap:7px}
.fd-footer-links-group a{font-size:13px;color:rgba(255,255,255,.55)}
.fd-footer-links-group a:hover{color:#fff}
.fd-footer-bottom{max-width:1200px;margin:0 auto;border-top:1px solid rgba(255,255,255,.1);padding-top:16px;font-size:12px}
@media(max-width:700px){.fd-footer-top{grid-template-columns:1fr}}

/* Hub pages */
.fd-hub-page{max-width:1100px;margin:0 auto;padding:24px 20px}
.fd-hub-hero{background:#0d5a8c;color:#fff;border-radius:12px;padding:32px;margin-bottom:28px}
.fd-hub-hero h1{font-size:26px;font-weight:700;color:#fff;margin-bottom:10px}
.fd-hub-desc{font-size:15px;opacity:.85;line-height:1.7;margin-bottom:16px}
.fd-hub-stats{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px;opacity:.9}
.fd-hub-stats strong{font-size:16px}
.fd-hub-search{margin-bottom:28px}
.fd-hub-search form{display:flex;gap:8px}
.fd-hub-page h2{font-size:20px;margin-bottom:16px;color:#0d5a8c}
.fd-hub-list{columns:2;gap:20px;list-style:none;margin-bottom:28px}
.fd-hub-list li{break-inside:avoid;padding:5px 0;border-bottom:1px solid #f0f0f0}
.fd-hub-list a{font-size:14px;color:#0d5a8c}
.fd-hub-list small{color:#888}
.fd-hub-back{font-size:13px}
.fd-hub-back a{color:#0d5a8c}
@media(max-width:600px){.fd-hub-list{columns:1}}

/* ── Enrichment data styles ──────────────────────────────────────────────── */
.fd-card-rating{display:flex;align-items:center;gap:5px;margin-bottom:5px}
.fd-stars{color:#f5a623;font-size:12px;letter-spacing:1px}
.fd-rating-num{font-size:12px;font-weight:600;color:#333}
.fd-rating-count{font-size:11px;color:#999}

/* Single page CTA buttons */
.fd-website-btn,.fd-phone-btn,.fd-gmaps-btn{
  display:block;width:100%;padding:12px 16px;border-radius:8px;font-size:14px;
  font-weight:600;text-align:center;margin-bottom:10px;transition:opacity .15s;
}
.fd-website-btn{background:#0d5a8c;color:#fff;}
.fd-website-btn:hover{opacity:.88;color:#fff}
.fd-phone-btn{background:#f0f8f0;color:#1a6b1a;border:1.5px solid #b8ddb8;}
.fd-phone-btn:hover{background:#e0f0e0}
.fd-gmaps-btn{background:#fff;color:#555;border:1.5px solid #ddd;}
.fd-gmaps-btn:hover{background:#f5f5f5}

/* Hero rating */
.fd-single-rating-hero{display:flex;align-items:center;gap:5px;font-size:14px;color:rgba(255,255,255,.9)}
.fd-single-rating-hero .fd-stars{color:#ffd700}
.fd-review-count-hero{opacity:.7;font-size:12px}

/* Fact row with rating */
.fd-rating-fact{display:flex;align-items:center;gap:6px}
.fd-rating-fact .fd-stars{color:#f5a623}
.fd-rating-fact small{color:#999;font-size:11px}
.fd-phone-link{color:inherit;text-decoration:none}
.fd-phone-link:hover{text-decoration:underline}


/* ── Nearby section ─────────────────────────────────────────────────────────── */
.fd-nearby{background:#f7fafc;border-top:1px solid #e2eaf0;padding:40px 20px}
.fd-nearby-inner{max-width:1100px;margin:0 auto}
.fd-nearby h2{font-size:20px;font-weight:700;color:#0d5a8c;margin:0 0 20px}
.fd-nearby-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.fd-nearby-card{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #dde8f0;border-radius:10px;padding:14px 16px;text-decoration:none;color:inherit;transition:box-shadow .15s,border-color .15s}
.fd-nearby-card:hover{box-shadow:0 4px 16px rgba(13,90,140,.12);border-color:#0d5a8c}
.fd-nearby-icon{font-size:22px;line-height:1;flex-shrink:0;margin-top:2px}
.fd-nearby-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.fd-nearby-name{font-size:14px;font-weight:600;color:#1a1a2e;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-nearby-loc{font-size:12px;color:#666}
.fd-nearby-dist{font-size:12px;color:#0d5a8c;font-weight:500}
.fd-nearby-sub{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.fd-cert-xs{font-size:10px;padding:2px 6px;border-radius:4px}
.fd-nearby-rat{font-size:12px;color:#e6a817;font-weight:600}
@media(max-width:600px){.fd-nearby-grid{grid-template-columns:1fr 1fr}}

/* ── Hero Image (Dive Sites) ─────────────────────────────────────────────── */
.fd-single-hero--photo{background-size:cover;background-position:center;background-repeat:no-repeat;position:relative}
.fd-single-hero--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.45) 0%,rgba(0,0,0,.6) 100%);pointer-events:none}
.fd-single-hero--photo .fd-single-hero-inner{position:relative;z-index:1}
.fd-single-hero--photo .fd-breadcrumb a,.fd-single-hero--photo .fd-breadcrumb{color:rgba(255,255,255,.8)}
.fd-hero-credit{position:absolute;bottom:6px;right:12px;font-size:11px;color:rgba(255,255,255,.6);z-index:2}
.fd-hero-credit a{color:rgba(255,255,255,.6);text-decoration:none}
.fd-hero-credit a:hover{color:#fff}
