/* HPH Technical Solutions — Home */
:root {
  --white: #FFFFFF; --gray: #F0F0F0; --black: #000000;
  --text-muted: rgba(0,0,0,0.6); --text-muted-invert: rgba(255,255,255,0.6);
  --border-invert: rgba(255,255,255,0.15); --border-soft: rgba(0,0,0,0.15);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--black); font-family: 'Inter', sans-serif; }
a { color: inherit; }
a:hover { text-decoration: underline; }
::selection { background: var(--black); color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.93); backdrop-filter: blur(6px); border-bottom: 1px solid var(--gray); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.logo { font-weight: 700; font-size: 16px; letter-spacing: 0.03em; text-decoration: none; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { text-decoration: underline; }
.nav-links a.active { font-weight: 600; }

.btn { text-decoration: none; font-size: 14px; font-weight: 600; display: inline-block; padding: 16px 30px; border-radius: 2px; transition: transform .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-3px); }
.btn-primary { color: var(--white); background: var(--black); }
.btn-outline { color: var(--black); border: 1px solid var(--black); }
.btn-invert { color: var(--black); background: var(--white); }
.btn-nav { font-size: 13px; padding: 11px 22px; }

.hero { background: var(--gray); }
.hero-inner { padding: 170px 32px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 32px; }
.hero h1 { font-size: 76px; line-height: 1.08; font-weight: 700; margin: 0 0 40px; max-width: 960px; letter-spacing: -0.02em; text-wrap: pretty; }
.hero h1 span { font-weight: 400; color: rgba(0,0,0,0.4); }
.hero p.lead { font-size: 19px; line-height: 1.7; color: var(--text-muted); max-width: 520px; margin: 0 0 56px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 140px; }

.stats-row { border-top: 1px solid var(--black); padding: 44px 0 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stats-row > div:not(:first-child) { border-left: 1px solid var(--border-soft); padding-left: 32px; }
.stat-num { font-weight: 700; font-size: 22px; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.anim-1 { opacity: 0; animation: fadeUp .7s ease .05s forwards; }
.anim-2 { opacity: 0; animation: fadeUp .8s ease .15s forwards; }
.anim-3 { opacity: 0; animation: fadeUp .8s ease .28s forwards; }
.anim-4 { opacity: 0; animation: fadeUp .8s ease .4s forwards; }
.anim-5 { opacity: 0; animation: fadeUp .8s ease .52s forwards; }

.services-section { padding: 100px 32px; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.services-head h2 { font-size: 36px; font-weight: 700; margin: 0; max-width: 520px; letter-spacing: -0.01em; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--gray); border: 1px solid var(--gray); }
.service-card { background: var(--white); padding: 36px 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow .3s ease; }
.service-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.1); }
.service-num { font-size: 13px; font-weight: 600; }
.service-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.service-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.cta-band { background: var(--black); color: var(--white); }
.cta-band-inner { padding: 88px 32px; text-align: center; }
.cta-band h2 { font-size: 38px; font-weight: 700; margin: 0 0 20px; letter-spacing: -0.01em; }
.cta-band p { font-size: 16px; color: var(--text-muted-invert); margin: 0 0 32px; }

.site-footer { background: var(--black); color: var(--white); border-top: 1px solid var(--border-invert); }
.footer-grid { padding: 56px 32px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.footer-addr { font-size: 13px; line-height: 1.7; color: var(--text-muted-invert); max-width: 280px; margin: 0; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-muted-invert); text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; font-size: 14px; color: var(--white); }
.footer-bottom { padding: 20px 32px; border-top: 1px solid var(--border-invert); font-size: 12px; color: var(--text-muted-invert); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 720px) {
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; gap: 14px; }
  .nav-links { gap: 18px; }
  .hero-inner { padding: 100px 24px 0; }
  .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .hero h1 { font-size: 42px; line-height: 1.12; margin-bottom: 24px; }
  .hero p.lead { font-size: 16px; margin-bottom: 36px; }
  .hero-ctas { margin-bottom: 72px; }
  .hero-ctas .btn { flex: 1 1 auto; text-align: center; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 40px; }
  .stats-row > div:not(:first-child) { border-left: none; padding-left: 0; border-top: 1px solid var(--border-soft); padding-top: 20px; }
  .services-section { padding: 64px 24px; }
  .services-head h2 { font-size: 27px; }
  .cta-band-inner { padding: 64px 24px; }
  .cta-band h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 24px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .nav-links { width: 100%; justify-content: space-between; }
  .btn-nav { padding: 10px 16px; }
}
