/* =========================================================
   City Gas Distributions — Corporate Design System
   Clean, BOC-inspired professional UI
   NO gradient text. Solid colors only. Restrained corporate.
   ========================================================= */

:root {
  /* Brand palette — solid */
  --navy:       #0A2540;
  --navy-deep:  #061a30;
  --blue:       #0B4F9C;
  --blue-600:   #0d5cb6;
  --blue-700:   #094582;
  --teal:       #0E8C8C;
  --green:      #4CAF3F;

  /* Neutrals */
  --ink:        #0A1628;
  --ink-2:      #1F2A3D;
  --gray-900:   #1A2332;
  --gray-700:   #4A5568;
  --gray-600:   #5C6B7D;
  --gray-500:   #7A8699;
  --gray-400:   #A3ADBD;
  --gray-300:   #CBD2DC;
  --gray-200:   #E2E7EE;
  --gray-100:   #F1F4F8;
  --gray-50:    #F7F9FC;
  --white:      #FFFFFF;

  /* Accents */
  --accent:     #E63946;       /* CTA red for emergency / accent */
  --warn:       #F4A261;
  --success:    #2E7D32;

  /* Layout */
  --container:  1240px;
  --container-wide: 1360px;
  --radius:     4px;
  --radius-lg:  6px;

  /* Type */
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow:     0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md:  0 6px 20px rgba(10, 37, 64, 0.10);
  --shadow-lg:  0 16px 40px rgba(10, 37, 64, 0.12);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-700); }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   Typography — Solid colors only. No gradients.
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1rem; color: var(--gray-700); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--gray-700); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(60px, 8vw, 100px) 0; }

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =========================================================
   Top Utility Bar (BOC-style)
   ========================================================= */
.utility-bar {
  background: var(--navy-deep);
  color: var(--gray-300);
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.utility-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.utility-links a { color: var(--gray-300); }
.utility-links a:hover { color: var(--white); }
.utility-contact { display: flex; gap: 20px; align-items: center; }
.utility-contact a { color: var(--gray-300); display: inline-flex; align-items: center; gap: 6px; }
.utility-contact a:hover { color: var(--white); }

/* =========================================================
   Header / Navigation — Clean, white, professional
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 96px; width: auto; display: block; }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--gray-900);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-menu a:hover { color: var(--blue); background: var(--gray-50); }
.nav-menu a.active { color: var(--blue); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--blue-700); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.25rem;
}

/* =========================================================
   Buttons — solid, corporate
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }

.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-link:hover { color: var(--blue-700); gap: 12px; }

/* =========================================================
   Hero — Solid navy with photo, NO gradient text
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 620px;
  padding: clamp(60px, 8vw, 100px) 0;
}
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: #7CC3FF; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p.lead { color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0) 60%);
}

/* hero bottom stats strip */
.hero-stats {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat {
  padding: 32px 24px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* =========================================================
   Page Headers — for inner pages
   ========================================================= */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: clamp(70px, 9vw, 110px) 0 clamp(60px, 7vw, 90px);
  position: relative;
}
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 720px; margin: 0; }
.page-header .eyebrow { color: #7CC3FF; }

.breadcrumb {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.4); }

/* =========================================================
   Cards — Clean borders, no gradients
   ========================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all var(--transition);
}
.card:hover .card-icon { background: var(--blue); color: var(--white); }
.card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 20px; flex: 1; }
.card .btn-link { margin-top: auto; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* =========================================================
   Sections — alt backgrounds
   ========================================================= */
.bg-light { background: var(--gray-50); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.8); }
.bg-dark .eyebrow { color: #7CC3FF; }

/* =========================================================
   Split / Feature blocks
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 0.975rem;
}
.feature-list li i {
  color: var(--blue);
  font-size: 1.05rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* =========================================================
   Product Spotlight — BOC-inspired large product blocks
   ========================================================= */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.product-row.reverse > :first-child { order: 2; }
.product-row-media { background: var(--gray-100); position: relative; min-height: 380px; }
.product-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-row-body { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.product-row-body .eyebrow { color: var(--blue); }
.product-row-body h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }

/* =========================================================
   Sectors / Industries grid
   ========================================================= */
.sector-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-900);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  transition: transform var(--transition);
}
.sector-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 500ms cubic-bezier(0.4,0,0.2,1);
}
.sector-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0) 30%, rgba(10,37,64,0.85) 100%);
  z-index: 1;
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card-inner { position: relative; z-index: 2; }
.sector-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.sector-card p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* =========================================================
   Process steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--blue);
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 12px;
}
.step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(50px, 6vw, 80px) 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 0 0 8px; max-width: 720px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; max-width: 720px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Forms
   ========================================================= */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 79, 156, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* =========================================================
   Contact info blocks
   ========================================================= */
.contact-info {
  display: grid;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--gray-50);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.contact-info-item i {
  color: var(--blue);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.contact-info-item h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: 0.95rem; color: var(--gray-700); }
.contact-info-item.emergency { border-left-color: var(--accent); }
.contact-info-item.emergency i { color: var(--accent); }

/* =========================================================
   Values / Pillars
   ========================================================= */
.pillar {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: left;
}
.pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 16px;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pillar p { font-size: 0.95rem; color: var(--gray-600); margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-300);
  padding: 64px 0 0;
  font-size: 0.925rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 56px; margin-bottom: 20px; }
.footer-brand p { color: var(--gray-400); font-size: 0.925rem; max-width: 320px; }

.footer-col h5 {
  color: var(--white);
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--gray-400); font-size: 0.925rem; }
.footer-col a:hover { color: var(--white); }

.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--gray-400); }
.footer-contact-item i { color: var(--blue); margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray-500);
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--gray-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.4,0,0.2,1), transform 600ms cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* =========================================================
   Mobile / Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-media { max-width: 600px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: initial; }
  .product-row { grid-template-columns: 1fr; }
  .product-row.reverse > :first-child { order: initial; }
  .product-row-media { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .utility-bar { display: none; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-menu.is-open {
    display: flex;
    position: fixed;
    top: 81px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid var(--gray-200);
  }
  .nav-menu.is-open li { width: 100%; }
  .nav-menu.is-open a {
    display: block;
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav-menu.is-open .nav-cta {
    display: inline-flex;
    margin-top: 16px;
    justify-content: center;
    color: var(--white) !important;
  }

  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }

  .cta-band .container { flex-direction: column; align-items: flex-start; text-align: left; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 56px 0; }
  .card { padding: 24px; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
}


