:root {
  --navy-950: #061522;
  --navy-900: #0b2239;
  --navy-800: #123652;
  --blue-600: #276b8f;
  --blue-100: #e9f2f6;
  --teal-500: #5ba09b;
  --teal-300: #94c4c0;
  --cream: #f5f2eb;
  --sand: #e7e1d5;
  --white: #ffffff;
  --ink: #17232d;
  --muted: #5e6b75;
  --line: #dce3e6;
  --shadow-sm: 0 12px 30px rgba(6, 21, 34, 0.08);
  --shadow-lg: 0 28px 70px rgba(6, 21, 34, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--navy-900); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,34,57,0.08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; padding: 8px; border-radius: 10px; background: var(--navy-900); color: var(--white); box-shadow: 0 8px 22px rgba(11,34,57,0.18); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text { font-family: "Source Serif 4", Georgia, serif; color: var(--navy-900); font-size: 1.38rem; font-weight: 700; letter-spacing: -0.015em; }
.brand-subtitle { margin-top: 4px; color: var(--muted); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { position: relative; text-decoration: none; color: #334552; font-size: 0.92rem; font-weight: 700; }
nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--teal-500); transition: right 180ms ease; }
nav a:not(.nav-contact):hover::after { right: 0; }
.nav-contact { padding: 11px 18px; border-radius: 7px; background: var(--navy-900); color: var(--white); transition: transform 180ms ease, background 180ms ease; }
.nav-contact:hover { background: var(--blue-600); transform: translateY(-1px); }

.hero { position: relative; overflow: hidden; padding: 112px 0 104px; color: var(--white); background: linear-gradient(128deg, var(--navy-950), var(--navy-900) 58%, #17465d); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.42; background: radial-gradient(circle at 78% 20%, rgba(91,160,155,0.32), transparent 24%), linear-gradient(115deg, transparent 0 69%, rgba(255,255,255,0.035) 69% 71%, transparent 71% 100%); }
.hero-pattern::before, .hero-pattern::after { content: ""; position: absolute; border: 1px solid rgba(148,196,192,0.2); border-radius: 50%; }
.hero-pattern::before { width: 470px; height: 470px; right: -120px; top: -210px; }
.hero-pattern::after { width: 660px; height: 660px; right: -220px; top: -305px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr); gap: 86px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--teal-500); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 700; }
.hero .eyebrow, .contact-section .eyebrow { color: var(--teal-300); }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; }
h1 { max-width: 800px; margin-bottom: 24px; font-size: clamp(3rem, 6.2vw, 5.7rem); font-weight: 700; letter-spacing: -0.042em; }
h2 { margin-bottom: 22px; color: var(--navy-900); font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.032em; }
.hero-copy { max-width: 680px; margin: 0; color: #d1e0e8; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 24px; border-radius: 7px; text-decoration: none; font-weight: 700; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--white); color: var(--navy-900); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
.button.primary:hover { background: var(--cream); }
.button.secondary { border: 1px solid rgba(255,255,255,0.3); color: var(--white); }
.button.secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.hero-card { padding: 31px; border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055)); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.hero-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 5px rgba(148,196,192,0.12); }
.card-label { margin: 0; color: var(--teal-300); text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.73rem; font-weight: 700; }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.13); color: #edf5f7; font-weight: 600; }
.hero-card li:last-child { border-bottom: 0; padding-bottom: 2px; }
.hero-card li span { color: var(--teal-300); font-size: 0.7rem; letter-spacing: 0.1em; }
.hero-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--teal-500) 0 34%, #d4b477 34% 38%, transparent 38%); }

.section { padding: 100px 0; }
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 88px; align-items: start; }
.lead { margin: 0; color: var(--muted); font-size: 1.18rem; }
.value-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.value-row span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-800); background: #fafcfc; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }

.services-section { background: var(--cream); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 370px; margin: 0 0 26px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.service-card { position: relative; overflow: hidden; min-height: 320px; padding: 31px; border: 1px solid #dedfd9; border-radius: 13px; background: var(--white); box-shadow: 0 1px 0 rgba(6,21,34,0.03); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: #cbd6d8; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; padding: 10px; margin-bottom: 32px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); }
.service-number { position: absolute; top: 32px; right: 30px; color: #9aa8b0; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; }
.service-card h3, .team-card h3 { margin-bottom: 12px; color: var(--navy-900); font-size: 1.24rem; }
.service-card p, .team-card p { margin: 0; color: var(--muted); }

.team-section { background: var(--white); }
.team-heading { align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; }
.team-card { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); box-shadow: 0 8px 24px rgba(6,21,34,0.04); }
.initials { flex: 0 0 auto; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-family: "Source Serif 4", Georgia, serif; font-size: 1.05rem; font-weight: 700; box-shadow: inset 0 0 0 5px rgba(255,255,255,0.08); }

.contact-section { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-accent { position: absolute; width: 440px; height: 440px; right: -150px; bottom: -270px; border: 1px solid rgba(148,196,192,0.16); border-radius: 50%; }
.contact-accent::after { content: ""; position: absolute; inset: 55px; border: 1px solid rgba(148,196,192,0.12); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 88px; align-items: center; }
.contact-copy { max-width: 610px; color: #cfdee5; font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; color: var(--white); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 4px; }
.text-link:hover { border-color: var(--teal-300); }
.contact-card { padding: 32px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.contact-item { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.contact-item a { color: var(--blue-600); text-decoration: none; font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }
address { font-style: normal; }

footer { padding: 28px 0; background: var(--navy-950); color: #a9bac4; font-size: 0.85rem; }
.footer-wrap, .footer-wrap > div, .footer-links { display: flex; align-items: center; gap: 18px; }
.footer-wrap { justify-content: space-between; }
.footer-wrap strong { color: var(--white); font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; }
.footer-links a { color: #dce8ed; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 86px 0 82px; }
  .hero-card { max-width: 620px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 650px; margin: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .section { padding: 82px 0; }
}

@media (max-width: 720px) {
  nav a:not(.nav-contact) { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-wrap { align-items: flex-start; }
  .footer-links { flex-direction: column; align-items: flex-end; gap: 6px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 30px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-subtitle { display: none; }
  .brand-text { font-size: 1.2rem; }
  .nav-contact { padding: 9px 13px; }
  .hero { padding: 68px 0 66px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-card, .contact-card, .service-card { padding: 25px; }
  .team-card { align-items: flex-start; padding: 24px; }
  .initials { width: 58px; height: 58px; }
  .section { padding: 68px 0; }
  .footer-wrap, .footer-wrap > div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* PRG blue natural-gas flame logo */
.flame-mark {
  background: #eef6ff;
  color: #1570d8;
  border: 1px solid rgba(21, 112, 216, 0.18);
  box-shadow: 0 8px 22px rgba(21, 112, 216, 0.18);
}
.flame-mark svg { stroke: none; }
.flame-mark .flame-outer { fill: #1570d8; }
.flame-mark .flame-inner { fill: #8fc5ff; }
