/* Shared styles for the redesigned public pages (home, services). Tokens live in brand.css. */
.hp-section { padding: 80px 0; }
.hp-section.alt { background: var(--cream); }
.hp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .4px; color: var(--g-dark); background: var(--g-soft); border-radius: 30px; padding: 6px 16px; margin-bottom: 14px; }

.hp-title { margin-bottom: 40px; }
.hp-title.center { text-align: center; }
.hp-title h2 { font-size: 32px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -.3px; }
.hp-title .hi { display: block; font-size: 15px; color: var(--brown); margin-bottom: 4px; }
.hp-title p { color: var(--muted); margin: 6px 0 0; }
.hp-title:after { content: ""; display: block; width: 84px; height: 10px; margin-top: 14px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='84' height='10' viewBox='0 0 84 10'><path d='M2 6 Q12 0 22 5 T42 5 T62 5 T82 4' fill='none' stroke='%23f05424' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat; }
.hp-title.center:after { margin-left: auto; margin-right: auto; }

/* service tiles */
.hp-card { display: flex; flex-direction: column; position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 20px 18px 16px; height: 100%; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(42, 45, 42, .1); border-color: var(--g); text-decoration: none; color: inherit; }
.hp-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--g-soft); color: var(--g-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; transition: all .2s; }
.hp-grid > div:nth-child(even) .hp-card .ic { background: var(--o-soft); color: var(--o); }
.hp-card:hover .ic { background: var(--g); color: #fff; }
.hp-grid > div:nth-child(even) .hp-card:hover .ic { background: var(--o); color: #fff; }
.hp-card h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 0 0 2px; line-height: 1.3; }
.hp-card .hi { font-size: 12.5px; color: var(--brown); margin-bottom: 8px; }
.hp-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-card .go { margin-top: auto; color: var(--o); font-weight: 600; font-size: 13px; }
.hp-card .go i { font-size: 11px; margin-left: 2px; transition: margin .2s; }
.hp-card:hover .go i { margin-left: 7px; }

/* featured services */
.hp-feature { display: flex; align-items: flex-start; gap: 24px; position: relative; overflow: hidden; border-radius: 26px; padding: 34px 34px 30px; height: 100%; color: #fff; background: linear-gradient(135deg, var(--g-dark), var(--g)); box-shadow: 0 18px 36px rgba(31, 111, 49, .28); transition: transform .2s, box-shadow .2s; }
.hp-feature.alt { background: linear-gradient(135deg, var(--o-dark), var(--o)); box-shadow: 0 18px 36px rgba(212, 68, 26, .28); }
.hp-feature:before { content: ""; position: absolute; right: -60px; top: -70px; width: 230px; height: 230px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hp-feature:after { content: ""; position: absolute; right: 70px; bottom: -80px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hp-feature:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(42, 45, 42, .25); text-decoration: none; color: #fff; }
.hp-feature .ic { position: relative; z-index: 1; flex: 0 0 78px; width: 78px; height: 78px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 32px; background: rgba(255, 255, 255, .2); color: #fff; }
.hp-feature .body { position: relative; z-index: 1; }
.hp-feature h3 { font-size: 26px; font-weight: 700; margin: 0 0 2px; color: #fff; letter-spacing: -.3px; }
.hp-feature .hi { color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 10px; }
.hp-feature p { color: rgba(255, 255, 255, .92); font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.hp-feature .pts { list-style: none; padding: 0; margin: 0 0 20px; font-size: 13.5px; }
.hp-feature .pts li { margin-bottom: 5px; color: #fff; }
.hp-feature .pts i { font-size: 11px; margin-right: 8px; background: rgba(255, 255, 255, .25); width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 50%; }
.hp-feature .btn-feat { display: inline-block; background: #fff; color: var(--g-dark); font-weight: 600; font-size: 14.5px; border-radius: 50px; padding: 10px 24px; transition: all .2s; }
.hp-feature.alt .btn-feat { color: var(--o-dark); }
.hp-feature:hover .btn-feat i { margin-left: 4px; }
.hp-feature-wrap { background: linear-gradient(180deg, var(--cream), #fff); }
@media (max-width: 575px) { .hp-feature { flex-direction: column; text-align: left; padding: 28px 24px; } }

/* inner page banner */
.pg-hero { padding: 140px 0 50px; background: var(--cream); position: relative; overflow: hidden; }
.pg-hero:after { content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: var(--g-soft); }
.pg-hero .container { position: relative; z-index: 1; }
.pg-hero h1 { font-size: 36px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.3px; }
.pg-hero .hi { display: block; color: var(--brown); font-size: 16px; margin-top: 4px; }
.pg-hero p { color: var(--muted); max-width: 560px; margin: 10px 0 0; }
.pg-notice { background: #fff; border-left: 4px solid var(--g); border-radius: 10px; padding: 14px 18px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }

@media (max-width: 767px) {
  .hp-section { padding: 56px 0; }
  .pg-hero { padding: 118px 0 40px; }
  .pg-hero h1 { font-size: 28px; }
  .hp-title h2 { font-size: 27px; }
}
