:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#637086;
  --line:#e6e9ef;
  --soft:#f5f7fb;
  --card:#ffffff;
  --radius:18px;
  --radius2:14px;

  --nav-bg:#ffffff;
  --nav-text:#0b1220;
  --nav-active:#0b1220;
  --nav-active-text:#ffffff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Roboto", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-weight:400;
}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.wrap{max-width:1140px;margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}

.header{
  background:var(--nav-bg);
  color:var(--nav-text);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.header-title{
  font-weight:500;
  font-size:16px;
  letter-spacing:.2px;
  color:var(--nav-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:70vw;
}

.btn{
  height:36px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:500;
  cursor:pointer;
  user-select:none;
  flex:0 0 auto;
}

.btn-primary{
  background:var(--nav-active);
  color:var(--nav-active-text);
}
.btn-primary:hover{transform:translateY(-1px)}
.btn-primary:active{transform:translateY(0px)}

.directory-desc{
  background:var(--soft);
  border-top:1px solid var(--line);
}

.directory-text{
  margin:0;
  padding:14px 0;
  font-size:15px;
  font-weight:400;
  color:var(--muted);
  text-align:center;
}

.section{padding:26px 0}
.section-top{padding-top:18px}
.section-tight{padding-top:10px}

.section-head{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:14px;
}

.section-head h2{
  margin:0;
  font-size:24px;
  letter-spacing:-.2px;
  font-weight:500;
}

.recs{
  display:none;
}

.rec{
  display:none;
}

.rec-img{
  display:none;
}

.rec-body{
  display:none;
}

.rec-name{
  display:none;
}

.rec-addr{
  display:none;
}

.rec-contacts{
  display:none;
}

.rec-contact{
  display:none;
}

.list{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px 18px;
}

.biz{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:0;
  margin:0;
  overflow:hidden;
  box-shadow:none;
}

.biz-img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:0;
  border:0;
  background:#ffffff;
  flex:0 0 auto;
}

.biz-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  flex:1;
  padding:14px;
}

.biz-title{
  font-weight:500;
  font-size:16px;
  line-height:1.25;
}

.biz-addr{
  font-weight:400;
  color:var(--muted);
  font-size:13px;
}

.biz-contacts{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:2px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.contact{
  font-weight:400;
  font-size:13px;
  color:var(--muted);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  width:100%;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  line-height:1.35;
  box-shadow:none;
  word-break:break-word;
}

.contact:hover{
  background:var(--soft);
  color:var(--text);
}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.foot-title{font-weight:500;margin-bottom:8px}
.foot-right{display:flex;gap:10px;flex-wrap:wrap}

.footlink{
  color:var(--muted);
  font-weight:500;
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
}
.footlink:hover{
  background:var(--soft);
  color:var(--text);
}

.hn-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(11,18,32,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}

.hn-modal-overlay.is-open{display:flex}
body.hn-modal-open{overflow:hidden}

.hn-modal{
  width:min(560px, 100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 18px 60px rgba(11,18,32,.22);
  overflow:hidden;
  position:relative;
}

.hn-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  background:var(--soft);
}

.hn-modal-title{
  font-weight:500;
  font-size:16px;
  color:var(--text);
}

.hn-modal-close{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  color:var(--muted);
}
.hn-modal-close:hover{
  background:var(--soft);
  color:var(--text);
}

.hn-form{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.hn-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.hn-label{
  font-size:12px;
  color:var(--muted);
  font-weight:500;
}

.hn-input{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  font-family:inherit;
  outline:none;
  background:#fff;
  color:var(--text);
}

textarea.hn-input{
  resize:vertical;
  min-height:96px;
}

.hn-input:focus{
  border-color:#cbd5e1;
  box-shadow:0 0 0 3px rgba(99,112,134,.18);
}

.hn-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:2px;
}

.hn-submit{
  height:38px;
  border-radius:12px;
}

.hn-status{
  font-size:13px;
  color:var(--muted);
  min-height:18px;
}

.hn-consent{
  font-size:10px;
  line-height:1.35;
  color:#94a3b8;
  margin-top:2px;
}

.hn-sending{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.hn-sending-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#ffffff;
  box-shadow:0 12px 32px rgba(0,0,0,.14);
  min-width:260px;
}

.hn-sending-text{
  font-size:16px;
  font-weight:500;
  color:var(--text);
}

.hn-sending-spinner{
  width:20px;
  height:20px;
  border-radius:50%;
  border:2px solid #cbd5e1;
  border-top-color: var(--nav-active);
  animation: hnspin .8s linear infinite;
}

@keyframes hnspin{to{transform:rotate(360deg)}}

@media (max-width: 1024px){
  .list{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .biz-img{height:240px}
}

@media (max-width: 820px){
  .wrap{padding:0 14px}
  .section{padding:18px 0}
  .section-head h2{font-size:22px}
  .list{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .biz-img{height:230px}
}

@media (max-width: 620px){
  .header-inner{padding:12px 0}
  .btn{height:34px;border-radius:12px}
  .header-title{font-size:15px;max-width:60vw}

  .directory-text{
    font-size:14px;
    padding:12px 10px;
  }

  .list{grid-template-columns:1fr}
  .biz-img{height:220px}

  .hn-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hn-submit{width:100%}
  .hn-status{text-align:center}
}

@media (max-width: 380px){
  .section-head h2{font-size:20px}
  .biz-img{height:200px}
  .hn-sending-card{min-width:220px}
}









