
.hgp-home {
  --hgp-primary:#174ea6;
  --hgp-secondary:#0f9d58;
  --hgp-bg:#f4f7fb;
  --hgp-card-bg:#fff;
  --hgp-card-text:#243042;
  --hgp-card-accent:#e9f1ff;
  --hgp-card-radius:22px;
  --hgp-card-height:184px;
  --hgp-card-columns:4;
  --hgp-text:#243042;
  --hgp-muted:#667085;
  --hgp-border:#dbe3ef;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--hgp-text);
  background: var(--hgp-bg);
}
.hgp-home * { box-sizing:border-box; }
.hgp-container { width:min(1180px,94%); margin:0 auto; }
.hgp-hero { color:#fff; background:linear-gradient(135deg,var(--hgp-hero-1, var(--hgp-primary)),var(--hgp-hero-2, #0b3474)); background-size:cover; background-position:center; border-radius:0 0 34px 34px; padding:56px 0 48px; position:relative; overflow:hidden; }
.hgp-hero:after { content:""; position:absolute; right:-90px; top:-90px; width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,.10); }
.hgp-hero-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr); gap:28px; align-items:center; position:relative; z-index:1; }
.hgp-badge { display:inline-block; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:7px 14px; margin-bottom:16px; }
.hgp-hero h1 { color:#fff; font-size:clamp(34px,5vw,58px); line-height:1.05; margin:0 0 12px; font-weight:800; letter-spacing:-.03em; }
.hgp-hero p { max-width:760px; font-size:18px; margin:0 0 22px; opacity:.96; }
.hgp-city { font-weight:800; margin-bottom:10px!important; }
.hgp-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hgp-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 18px; border-radius:14px; text-decoration:none; font-weight:800; transition:.18s ease; }
.hgp-btn-primary { background:#fff; color:var(--hgp-primary); }
.hgp-btn-outline { background:rgba(255,255,255,.10); color:#fff; border:1px solid rgba(255,255,255,.34); }
.hgp-btn:hover { transform:translateY(-1px); }
.hgp-quick { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.24); border-radius:24px; padding:22px; backdrop-filter:blur(8px); }
.hgp-quick h2 { color:#fff; margin:0 0 12px; }
.hgp-quick a { display:flex; justify-content:space-between; align-items:center; gap:12px; text-decoration:none; color:#fff; background:rgba(255,255,255,.14); border-radius:14px; padding:12px 14px; margin:10px 0; font-weight:800; }
.hgp-main { padding:34px 0 58px; }
.hgp-section { margin-bottom:32px; }
.hgp-section-head { display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:16px; }
.hgp-section-head h2 { color:#0b3474; font-size:clamp(26px,4vw,36px); line-height:1.15; margin:0; }
.hgp-section-head p { color:var(--hgp-muted); margin:6px 0 0; }
.hgp-view-all { color:var(--hgp-primary); text-decoration:none; font-weight:800; white-space:nowrap; }
.hgp-card-grid { display:grid; grid-template-columns:repeat(var(--hgp-card-columns),minmax(0,1fr)); gap:16px; }
.hgp-card { background:var(--hgp-card-bg); border:1px solid var(--hgp-border); border-radius:var(--hgp-card-radius); padding:22px; min-height:var(--hgp-card-height); text-decoration:none; color:var(--hgp-card-text); box-shadow:0 10px 24px rgba(16,42,67,.06); transition:.18s ease; position:relative; overflow:hidden; }
.hgp-card:after { content:""; position:absolute; right:-32px; top:-32px; width:92px; height:92px; border-radius:50%; background:var(--hgp-card-accent); opacity:.95; }
.hgp-card:hover { transform:translateY(-3px); border-color:var(--hgp-primary); box-shadow:0 18px 38px rgba(16,42,67,.11); }
.hgp-icon { width:56px; height:56px; display:flex; align-items:center; justify-content:center; border-radius:18px; background:var(--hgp-card-accent); color:var(--hgp-primary); font-size:30px; margin-bottom:14px; position:relative; z-index:1; }
.hgp-icon img { max-width:70%; max-height:70%; object-fit:contain; }
.hgp-card strong { display:block; color:var(--hgp-card-text); font-size:20px; line-height:1.2; margin-bottom:8px; position:relative; z-index:1; }
.hgp-card small { color:rgba(36,48,66,.75); position:relative; z-index:1; line-height:1.4; display:block; }
.hgp-card-layout-compact .hgp-card { min-height:118px; padding:16px; display:grid; grid-template-columns:48px 1fr; gap:10px; align-items:center; }
.hgp-card-layout-compact .hgp-icon { width:48px; height:48px; margin:0; grid-row:span 2; }
.hgp-card-layout-compact .hgp-card small { display:none; }
.hgp-card-layout-wide .hgp-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.hgp-card-layout-wide .hgp-card { min-height:126px; display:flex; justify-content:center; }
.hgp-card-layout-teal .hgp-card { background:#629da0; color:#fff; border:0; min-height:126px; border-radius:6px; }
.hgp-card-layout-teal .hgp-card strong { color:#fff; font-size:22px; }
.hgp-card-layout-teal .hgp-card small { display:none; }
.hgp-card-layout-teal .hgp-icon { position:absolute; right:24px; top:50%; transform:translateY(-50%); background:transparent; color:rgba(0,0,0,.20); font-size:54px; width:72px; height:72px; }
.hgp-card-layout-teal .hgp-card:after { display:none; }
.hgp-banners { position:relative; height:var(--hgp-banner-height); border-radius:28px; overflow:hidden; margin:0 0 32px; background:#102a43; box-shadow:0 14px 32px rgba(16,42,67,.12); }
.hgp-banner-track,.hgp-banner-slide { position:absolute; inset:0; }
.hgp-banner-slide { opacity:0; transition:opacity .5s ease; background-size:cover; background-position:center; display:flex; align-items:center; }
.hgp-banner-slide.is-active { opacity:1; z-index:1; }
.hgp-banner-content { color:#fff; padding:42px; max-width:720px; position:relative; z-index:2; }
.hgp-banner-content h2 { color:#fff; font-size:clamp(30px,5vw,52px); line-height:1.05; margin:0 0 12px; }
.hgp-banner-content p { font-size:18px; margin:0 0 18px; opacity:.95; }
.hgp-banner-content a { display:inline-flex; background:#fff; color:var(--hgp-primary); text-decoration:none; border-radius:14px; padding:12px 18px; font-weight:800; }
.hgp-banner-dots { position:absolute; left:0; right:0; bottom:16px; display:flex; justify-content:center; gap:8px; z-index:3; }
.hgp-banner-dots button { width:10px; height:10px; border-radius:50%; border:0; background:rgba(255,255,255,.55); padding:0; cursor:pointer; }
.hgp-banner-dots button.is-active { background:#fff; transform:scale(1.2); }
.hgp-siplan { background:#fff; border:1px solid var(--hgp-border); border-radius:28px; padding:24px; box-shadow:0 10px 24px rgba(16,42,67,.06); }
.hgp-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.hgp-news { background:#fff; border:1px solid var(--hgp-border); border-radius:22px; overflow:hidden; box-shadow:0 10px 24px rgba(16,42,67,.06); }
.hgp-news-img { height:180px; background:linear-gradient(135deg,#dbeafe,#f8fafc); display:flex; align-items:center; justify-content:center; text-decoration:none; }
.hgp-news-img img { width:100%; height:100%; object-fit:cover; display:block; }
.hgp-news-img span { font-size:44px; }
.hgp-news-content { padding:18px; }
.hgp-news-content small { color:var(--hgp-muted); }
.hgp-news-content h3 { margin:8px 0; line-height:1.2; font-size:20px; }
.hgp-news-content h3 a { color:#0b3474; text-decoration:none; }
.hgp-news-content p { color:var(--hgp-muted); margin:0 0 12px; }
.hgp-read { color:var(--hgp-primary); font-weight:800; text-decoration:none; }
.hgp-highlight { background:linear-gradient(135deg,#fff,#f5fbff); border:1px solid var(--hgp-border); border-radius:28px; padding:24px; }
.hgp-mini-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.hgp-mini-card { background:#fff; border:1px solid var(--hgp-border); border-radius:18px; padding:16px; min-height:120px; display:flex; flex-direction:column; justify-content:center; text-align:center; color:#0b3474; text-decoration:none; font-weight:800; box-shadow:0 8px 18px rgba(16,42,67,.05); }
.hgp-mini-card span { font-size:30px; margin-bottom:8px; }
.hgp-contact-band { background:#102a43; color:#fff; border-radius:28px; padding:28px; display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:center; }
.hgp-contact-band h2 { color:#fff; font-size:30px; margin:0 0 10px; }
.hgp-contact-band p { opacity:.9; margin:0; }
.hgp-contact-list { display:grid; gap:10px; }
.hgp-contact-list div { display:flex; justify-content:space-between; gap:12px; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:12px 14px; }
.hgp-empty { background:#fff; border:1px solid var(--hgp-border); border-radius:18px; padding:20px; color:var(--hgp-muted); }
@media (max-width:980px) {
  .hgp-hero-grid,.hgp-contact-band { grid-template-columns:1fr; }
  .hgp-card-grid,.hgp-card-layout-wide .hgp-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hgp-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hgp-mini-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .hgp-hero { padding:42px 0 34px; }
  .hgp-actions .hgp-btn { width:100%; }
  .hgp-card-grid,.hgp-card-layout-wide .hgp-card-grid,.hgp-news-grid,.hgp-mini-grid { grid-template-columns:1fr; }
  .hgp-section-head { flex-direction:column; align-items:flex-start; }
  .hgp-contact-list div { flex-direction:column; }
  .hgp-banners { height:max(260px, calc(var(--hgp-banner-height) * .72)); }
  .hgp-banner-content { padding:28px; }
}


/* v0.3 theme/card refinements */
.hgp-card-layout-teal .hgp-card {
  background: var(--hgp-card-bg);
  color: var(--hgp-card-text);
}
.hgp-card-layout-teal .hgp-card strong { color: var(--hgp-card-text); }
.hgp-card-layout-teal .hgp-icon { color: var(--hgp-card-accent); opacity:.85; }
.hgp-card-layout-teal .hgp-card[style*="background-color"] strong { color: var(--hgp-card-text); }

.hgp-news-layout-featured {
  grid-template-columns: 1.25fr 1fr 1fr;
}
.hgp-news-layout-featured .hgp-news.is-first {
  grid-row: span 2;
}
.hgp-news-layout-featured .hgp-news.is-first .hgp-news-img {
  height: 290px;
}
.hgp-news-layout-featured .hgp-news.is-first h3 {
  font-size: 28px;
}
.hgp-news-layout-list {
  grid-template-columns: 1fr;
}
.hgp-news-layout-list .hgp-news {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.hgp-news-layout-list .hgp-news-img {
  height: 100%;
  min-height: 150px;
}
.hgp-news-layout-minimal {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.hgp-news-layout-minimal .hgp-news {
  box-shadow: none;
  border-radius: 16px;
}
.hgp-news-layout-minimal .hgp-news-img {
  display: none;
}
.hgp-news-layout-minimal .hgp-news-content {
  padding: 20px;
  border-left: 5px solid var(--hgp-primary);
}
@media (max-width:980px) {
  .hgp-news-layout-featured,
  .hgp-news-layout-minimal { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hgp-news-layout-list .hgp-news { grid-template-columns: 180px 1fr; }
}
@media (max-width:640px) {
  .hgp-news-layout-featured,
  .hgp-news-layout-minimal { grid-template-columns: 1fr; }
  .hgp-news-layout-list .hgp-news { grid-template-columns: 1fr; }
  .hgp-news-layout-list .hgp-news-img { height: 180px; }
}


/* v0.4 */
.hgp-news-layout-list {
  grid-template-columns: repeat(var(--hgp-news-columns, 1), minmax(0,1fr));
}
.hgp-news-layout-list .hgp-news {
  display: grid;
  grid-template-columns: 150px 1fr;
}
.hgp-news-layout-list .hgp-news-img {
  min-height: 135px;
}
.hgp-news-layout-minimal_thumb {
  grid-template-columns: repeat(var(--hgp-news-columns, 2), minmax(0,1fr));
}
.hgp-news-layout-minimal_thumb .hgp-news {
  display: grid;
  grid-template-columns: 96px 1fr;
  border-radius: 16px;
  box-shadow: none;
}
.hgp-news-layout-minimal_thumb .hgp-news-img {
  height: 100%;
  min-height: 110px;
}
.hgp-news-layout-minimal_thumb .hgp-news-content {
  padding: 14px;
}
.hgp-news-layout-minimal_thumb .hgp-news-content h3 {
  font-size: 17px;
}
.hgp-news-layout-minimal_thumb .hgp-news-content p {
  display: none;
}
@media (max-width: 980px) {
  .hgp-news-layout-list,
  .hgp-news-layout-minimal_thumb {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .hgp-news-layout-list,
  .hgp-news-layout-minimal_thumb {
    grid-template-columns: 1fr;
  }
  .hgp-news-layout-list .hgp-news,
  .hgp-news-layout-minimal_thumb .hgp-news {
    grid-template-columns: 1fr;
  }
  .hgp-news-layout-minimal_thumb .hgp-news-img {
    height: 160px;
  }
}
