/*
Theme Name: Heritage House International
Version: 3.1.0
*/



/*  TOKENS  */
:root {
  --navy:      #0b1f2e;
  --navy-mid:  #122333;
  --steel:     #1e3a52;
  --teal:      #0d7b6e;
  --teal-lt:   #12a394;
  --amber:     #e8a020;
  --amber-lt:  #f2be5c;
  --off-white: #f4f3ef;
  --light-bg:  #eceae4;
  --mid-gray:  #7a8390;
  --charcoal:  #1a1a1a;
  --white:     #ffffff;

  --display: 'Bebas Neue', sans-serif;
  --serif:   'DM Serif Display', serif;
  --body:    'DM Sans', sans-serif;

  --radius: 0px;
  --ease: cubic-bezier(.22,.68,0,1.2);
  --ease-std: cubic-bezier(.25,.46,.45,.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--off-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/*  PAGE ROUTER  */
.page { display: none; animation: pageFade .45s var(--ease-std) both; }
.page.active { display: block; }
@keyframes pageFade { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }

/* 
   NAVIGATION
 */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: 72px;
  display: flex; align-items: center;
}

.nav-inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.nav-brand-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .04em;
  flex-shrink: 0;
}
.nav-brand-text {
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.25;
}
.nav-brand-text span {
  display: block;
  font-weight: 300;
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  background: none; border: none; cursor: pointer;
  padding: 8px 14px;
  transition: color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.is-active { color: var(--amber); }

.dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--teal);
  min-width: 230px;
  padding: 8px 0;
  z-index: 999;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block;
  padding: 11px 20px;
  font-size: .77rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  transition: background .15s, color .15s;
}
.dropdown-panel a:hover { background: rgba(13,123,110,.15); color: var(--teal-lt); }

.nav-cta {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  border: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-lt); transform: translateY(-1px); }

/* 
   HERO
 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,31,46,.3) 0%, rgba(11,31,46,.7) 60%, rgba(11,31,46,.97) 100%),
    url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?w=1800&q=80&auto=format&fit=crop') center/cover no-repeat;
}

.hero-stripe {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--teal);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 40px 90px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: end;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 28px;
}
.hero-tag::before { content:''; width:28px; height:2px; background:var(--teal-lt); }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7.5rem);
  letter-spacing: .04em;
  color: var(--white);
  line-height: .96;
  margin-bottom: 28px;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9em;
  color: var(--amber);
  letter-spacing: 0;
}

.hero-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-solid {
  font-family: var(--body);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  padding: 15px 32px;
  border: none; cursor: pointer; transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-solid:hover { background: var(--amber-lt); transform: translateY(-2px); }

.btn-outline {
  font-family: var(--body);
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 14px 31px;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer; transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--teal-lt); color: var(--teal-lt); }

/* Hero sidebar stats */
.hero-sidebar {
  border-left: 1px solid rgba(255,255,255,.1);
  padding-left: 40px;
  display: flex; flex-direction: column; gap: 32px;
  padding-bottom: 4px;
}
.hero-stat-num {
  font-family: var(--display);
  font-size: 3.6rem;
  color: var(--amber);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-lbl {
  font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}
.hero-stat-div { height: 1px; background: rgba(255,255,255,.08); }

/* scroll indicator */
.hero-scroll-hint {
  position: absolute; bottom: 32px; right: 48px;
  writing-mode: vertical-lr;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.2);
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll-hint::after { content:''; height:40px; width:1px; background:rgba(255,255,255,.15); }

/* 
   TICKER / SERVICES BAR
 */
.ticker-bar {
  background: var(--teal);
  padding: 0;
  overflow: hidden;
  height: 44px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); flex-shrink:0; }

/* 
   SECTION SHELL
 */
.container {
  max-width: 1320px; margin: 0 auto; padding: 0 40px;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-tag::before { content:''; width:20px; height:2px; background:var(--teal); }

.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  letter-spacing: .04em;
  color: var(--navy);
  line-height: .96;
  margin-bottom: 18px;
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9em;
  color: var(--teal);
  letter-spacing: 0;
}
.section-title.on-dark { color: var(--white); }
.section-title.on-dark em { color: var(--amber-lt); }

.section-body {
  font-size: .94rem; font-weight: 300; line-height: 1.8;
  color: var(--mid-gray);
  max-width: 560px;
}
.section-body.on-dark { color: rgba(255,255,255,.5); }

/* 
   WHAT WE DO  3 col
 */
.intro-section {
  background: var(--white);
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-img-wrap {
  position: relative;
}
.intro-img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}
.intro-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--navy);
  padding: 26px 28px;
  min-width: 160px;
  text-align: center;
  border-top: 3px solid var(--teal);
}
.intro-badge-num {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--amber);
  letter-spacing: .04em;
  line-height: 1;
}
.intro-badge-lbl {
  font-size: .63rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  line-height: 1.5;
}

.intro-text { padding-right: 20px; }
.intro-text .section-body { margin-bottom: 36px; }

.feature-list { list-style: none; margin: 28px 0 36px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-bg);
  font-size: .88rem; line-height: 1.6;
}
.feature-item:first-child { border-top: 1px solid var(--light-bg); }
.fi-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(13,123,110,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: .85rem;
  margin-top: 2px;
}
.fi-title { font-weight: 700; font-size: .82rem; color: var(--navy); display: block; margin-bottom: 2px; }
.fi-body { color: var(--mid-gray); }

/* 
   SERVICES SECTION
 */
.services-section {
  background: var(--off-white);
  padding: 100px 0;
}

.services-header {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  margin-bottom: 52px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.svc-card {
  background: var(--white);
  padding: 44px 36px 36px;
  cursor: pointer;
  transition: transform .3s var(--ease-std), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-std);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(11,31,46,.09); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-num {
  font-family: var(--display);
  font-size: 4.5rem;
  color: rgba(11,31,46,.05);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.svc-icon {
  font-size: 2rem; margin-bottom: 18px;
}
.svc-name {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 12px;
}
.svc-desc {
  font-size: .83rem; font-weight: 300; line-height: 1.75; color: var(--mid-gray);
  margin-bottom: 24px;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); cursor: pointer;
  transition: gap .2s;
}
.svc-link:hover { gap: 14px; }

/* Wide card */
.svc-card.wide {
  grid-column: span 3;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
  padding: 52px 52px;
}
.svc-card.wide::after { background: var(--amber); }
.svc-card.wide .svc-name { color: var(--white); font-size: 2rem; }
.svc-card.wide .svc-desc { color: rgba(255,255,255,.5); max-width: 580px; margin-bottom: 0; }
.svc-card.wide .svc-num { color: rgba(255,255,255,.05); margin-bottom: 10px; }

/* 
   MISSION / NUMBERS BAND
 */
.numbers-band {
  background: var(--navy);
  padding: 72px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.numbers-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.num-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.num-item:last-child { border-right: none; }
.num-big {
  font-family: var(--display);
  font-size: 4.5rem;
  letter-spacing: .04em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.num-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* 
   PARTNERS
 */
.partners-section {
  background: var(--light-bg);
  padding: 90px 0;
}
.partners-header { margin-bottom: 48px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.partner-tile {
  background: var(--white);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  border-top: 3px solid transparent;
}
.partner-tile:hover { background: var(--navy); border-top-color: var(--teal); transform: translateY(-3px); }
.partner-tile:hover .pt-initial { color: var(--amber); }
.partner-tile:hover .pt-name { color: rgba(255,255,255,.8); }
.partner-tile:hover .pt-type { color: rgba(255,255,255,.35); }
.pt-initial {
  font-family: var(--display);
  font-size: 2.8rem;
  color: var(--navy);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 10px;
  transition: color .2s;
}
.pt-name {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 4px;
  transition: color .2s;
}
.pt-type {
  font-size: .68rem; font-weight: 300; color: var(--mid-gray);
  transition: color .2s;
}

/* 
   CTA BAND
 */
.cta-band {
  background: var(--teal);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'HHI';
  font-family: var(--display);
  font-size: 22rem;
  color: rgba(255,255,255,.04);
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  letter-spacing: .04em;
  line-height: 1;
  pointer-events: none;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: .04em;
  color: var(--white);
  line-height: .98;
  margin-bottom: 14px;
}
.cta-band h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy);
}
.cta-band p {
  font-size: .9rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.7);
  max-width: 500px;
}
.cta-btns { display: flex; flex-direction: column; gap: 12px; min-width: 200px; }

.btn-dark {
  font-family: var(--body);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 15px 30px;
  border: none; cursor: pointer; transition: background .2s;
  display: inline-block; text-align: center;
}
.btn-dark:hover { background: var(--navy-mid); }

.btn-wht {
  font-family: var(--body);
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 14px 29px;
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer; transition: border-color .2s;
  display: inline-block; text-align: center;
}
.btn-wht:hover { border-color: var(--white); }

/* 
   FOOTER
 */
.site-footer {
  background: var(--charcoal);
  padding: 72px 0 0;
  color: rgba(255,255,255,.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.footer-brand-mark {
  width: 32px; height: 32px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: .95rem;
  color: var(--white);
}
.footer-brand-name {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); line-height: 1.2;
}
.footer-brand-name span {
  display: block; font-weight: 300; font-size: .66rem; letter-spacing: .12em; color: rgba(255,255,255,.35);
}
.footer-brand p {
  font-size: .82rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.35); max-width: 280px;
}
.footer-col h4 {
  font-size: .63rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.4);
  transition: color .2s; cursor: pointer;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: .72rem; }
.footer-slogan {
  font-family: var(--serif);
  font-style: italic; font-size: .85rem;
  color: rgba(255,255,255,.2);
}

/* 
   INNER PAGE HERO
 */
.inner-hero {
  background: var(--navy);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.inner-hero::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; bottom: 0;
  background: var(--teal);
}
.inner-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(11,31,46,.97) 55%, rgba(11,31,46,.6) 100%),
    url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?w=1600&q=70&auto=format&fit=crop') right center/cover no-repeat;
}
.inner-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: 18px;
}
.breadcrumb span { color: var(--teal-lt); }
.inner-hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: .04em;
  color: var(--white);
  line-height: .96;
  max-width: 700px;
  margin-bottom: 20px;
}
.inner-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9em;
  color: var(--amber);
  letter-spacing: 0;
}
.inner-hero p {
  font-size: .97rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,.55); max-width: 520px;
}

/* 
   SERVICES PAGE  detail blocks
 */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  gap: 0;
  margin-bottom: 3px;
}
.svc-detail.flip .sd-copy { order: 2; }
.svc-detail.flip .sd-vis  { order: 1; }

.sd-copy {
  background: var(--white);
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.sd-vis {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  min-height: 420px;
}

.sd-vis.v-green  { background: linear-gradient(145deg, #0a2a1c, #0d4a30); }
.sd-vis.v-navy   { background: linear-gradient(145deg, #0b1f2e, #122333); }
.sd-vis.v-amber  { background: linear-gradient(145deg, #1a1200, #2e2000); }
.sd-vis.v-steel  { background: linear-gradient(145deg, #0e1c2a, #1e3a52); }
.sd-vis.v-teal   { background: linear-gradient(145deg, #022922, #0d4a40); }

.sd-vis-icon {
  font-size: 9rem;
  opacity: .12;
}
.sd-vis-label {
  position: absolute; bottom: 28px; left: 32px;
  font-family: var(--display);
  font-size: 1rem; letter-spacing: .18em;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
}

.sd-copy .section-tag { margin-bottom: 10px; }
.sd-h {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.02;
  margin-bottom: 16px;
}
.sd-body {
  font-size: .88rem; font-weight: 300; line-height: 1.8; color: var(--mid-gray);
  margin-bottom: 26px;
}
.sd-list { list-style: none; margin-bottom: 32px; }
.sd-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-bg);
  font-size: .83rem; color: var(--mid-gray);
  display: flex; align-items: flex-start; gap: 12px;
}
.sd-list li::before { content: ''; color: var(--teal); flex-shrink: 0; font-size: .7rem; margin-top: 3px; }
.sd-list li strong { color: var(--navy); }

/* 
   VALUES PAGE
 */
.values-section {
  background: var(--off-white);
  padding: 90px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 56px;
}
.val-card {
  background: var(--white);
  padding: 48px 40px;
  transition: transform .3s var(--ease-std);
  border-top: 3px solid transparent;
}
.val-card:hover { transform: translateY(-4px); border-top-color: var(--teal); }
.val-num {
  font-family: var(--display);
  font-size: 5rem;
  color: rgba(11,31,46,.05);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.val-icon { font-size: 2rem; margin-bottom: 14px; }
.val-bar { width: 28px; height: 3px; background: var(--teal); margin-bottom: 16px; }
.val-h {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 10px;
}
.val-p { font-size: .84rem; font-weight: 300; line-height: 1.8; color: var(--mid-gray); }

.val-feature {
  grid-column: span 3;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.val-feat-copy {
  padding: 64px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.val-feat-quote {
  padding: 64px 60px;
  background: rgba(255,255,255,.03);
  border-left: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  margin-bottom: 28px;
}

/* 
   CONTACT PAGE
 */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  gap: 0;
}
.contact-info-col {
  background: var(--navy);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-col {
  background: var(--white);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-col h3 {
  font-family: var(--display);
  font-size: 2rem; letter-spacing: .04em;
  color: var(--navy); margin-bottom: 36px;
}
.contact-detail-row {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}
.cdr-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(13,123,110,.15);
  border: 1px solid rgba(13,123,110,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.cdr-lbl {
  font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 4px;
}
.cdr-val { font-size: .88rem; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.5; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 18px; }
.fgroup label {
  display: block; font-size: .63rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid-gray); margin-bottom: 8px;
}
.fgroup input,
.fgroup textarea,
.fgroup select {
  width: 100%; padding: 13px 15px;
  font-family: var(--body); font-size: .86rem; font-weight: 300;
  color: var(--charcoal);
  background: var(--off-white);
  border: 1px solid rgba(11,31,46,.1);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.fgroup input:focus,
.fgroup textarea:focus,
.fgroup select:focus { border-color: var(--teal); background: var(--white); }
.fgroup textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 15px;
  background: var(--navy); color: var(--white);
  font-family: var(--body); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background .2s;
  margin-top: 6px;
}
.form-submit:hover { background: var(--teal); }

/*  RESPONSIVE  */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.wide { grid-column: span 2; }
  .numbers-inner { grid-template-columns: repeat(2,1fr); gap: 1px; }
  .num-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .partners-grid { grid-template-columns: repeat(3,1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-detail,
  .svc-detail.flip { grid-template-columns: 1fr; }
  .svc-detail.flip .sd-copy { order: 1; }
  .svc-detail.flip .sd-vis  { order: 2; }
  .sd-vis { min-height: 240px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .val-feature { grid-column: span 2; grid-template-columns: 1fr; }
  .val-feat-quote { border-left: none; border-top: 1px solid rgba(255,255,255,.07); }
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .hero-content { padding: 0 20px 72px; }
  .inner-hero { padding: 120px 0 56px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card.wide { grid-column: span 1; grid-template-columns: 1fr; gap: 24px; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .val-feature { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .sd-copy { padding: 48px 28px; }
  .contact-info-col,
  .contact-form-col { padding: 56px 24px; }
}


/*  PARTNER TILE WITH LOGO IMAGE  */
.partner-tile-bioclean { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.partner-logo-img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; }

/*  BIOCLEAN PARTNER BLOCK (Services page)  */
.bc-partner-block {
  margin-top: 28px;
  padding: 20px 22px;
  background: #f0f8ff;
  border: 1px solid #cce4f0;
  border-left: 4px solid var(--teal);
  display: flex; flex-direction: column; gap: 10px;
}
.bc-partner-label {
  font-size: .6rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal);
}
.bc-partner-logo {
  height: 72px; width: auto; max-width: 180px;
  object-fit: contain;
}
.bc-partner-desc {
  font-size: .82rem; font-weight: 300; line-height: 1.7; color: var(--mid-gray);
}
.bc-partner-link {
  font-size: .69rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); text-decoration: none;
  transition: color .2s;
}
.bc-partner-link:hover { color: var(--teal-lt); }


.partner-tile.bioclean-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: var(--white);
  overflow: hidden;
}
.partner-tile.bioclean-tile .pt-initial {
  display: none !important;
}
.partner-tile.bioclean-tile:hover {
  background: #eaf4f2;
  border-top-color: var(--teal);
}
.partner-tile.bioclean-tile:hover .pt-name,
.partner-tile.bioclean-tile:hover .pt-type {
  color: var(--navy);
}



/*  UNIFORM PARTNER TILES  */
.partners-grid a {
  display: block;
}
.partners-grid .partner-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px 20px !important;
  height: 180px !important;
  overflow: hidden !important;
  text-align: center;
}
.partners-grid .partner-tile img {
  width: auto !important;
  height: 80px !important;
  max-width: 120px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto 10px auto !important;
}
.partners-grid .pt-initial {
  font-family: var(--display);
  font-size: 2.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.partners-grid .pt-name {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.partners-grid .pt-type {
  font-size: .68rem;
  font-weight: 300;
  color: var(--mid-gray);
}


/* WordPress admin bar offset */
.admin-bar .hhi-nav {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .hhi-nav {
        top: 46px;
    }
}

/* NAV FIXES */
.hhi-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: var(--navy) !important;
    border-bottom: 3px solid var(--teal) !important;
    height: 84px !important;
    display: flex !important;
    align-items: center !important;
}
.hhi-nav.scrolled {
    height: 64px !important;
    box-shadow: 0 4px 32px rgba(0,0,0,.35) !important;
}
.nav-inner {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}
.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-links > li {
    position: relative !important;
    display: block !important;
}
.nav-links > li > a,
.nav-links > li > span {
    display: block !important;
    font-size: .75rem !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.82) !important;
    padding: 10px 15px !important;
    border-bottom: 2px solid transparent !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}
.nav-links > li > a:hover,
.nav-links > li > span:hover,
.nav-links > li > a.on {
    color: var(--amber) !important;
    border-bottom-color: var(--amber) !important;
}
.dd {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 2px) !important;
    left: 0 !important;
    background: var(--navy) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-top: 3px solid var(--teal) !important;
    min-width: 240px !important;
    padding: 8px 0 !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.35) !important;
    z-index: 9999 !important;
}
.nav-links li:hover .dd {
    display: block !important;
}
.dd a {
    display: block !important;
    padding: 11px 22px !important;
    font-size: .73rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.75) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
.dd a:hover {
    background: rgba(13,123,110,.15) !important;
    color: var(--amber) !important;
}
.nav-cta {
    font-size: .71rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: var(--navy) !important;
    background: var(--amber) !important;
    padding: 11px 26px !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}
.nav-cta:hover {
    background: var(--amber-lt) !important;
}
body {
    padding-top: 84px !important;
}
.admin-bar .hhi-nav {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar .hhi-nav { top: 46px !important; }
}


/* =============================================
   MOBILE RESPONSIVE — iPhone Safari Fix
   ============================================= */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

* {
    max-width: 100vw;
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
    .hhi-nav {
        height: 64px !important;
        padding: 0 !important;
    }
    .nav-inner {
        padding: 0 16px !important;
        gap: 12px !important;
    }
    .nav-links {
        display: none !important;
    }
    .nav-logo-img, .hhi-nav img {
        height: 38px !important;
        padding: 4px 10px !important;
    }
    .nav-cta {
        padding: 8px 14px !important;
        font-size: .65rem !important;
    }
    body {
        padding-top: 64px !important;
    }
}

/* ── HERO ── */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh !important;
        align-items: flex-end !important;
    }
    .hero-content {
        grid-template-columns: 1fr !important;
        padding: 0 20px 60px !important;
        gap: 0 !important;
    }
    .hero-sidebar {
        display: none !important;
    }
    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem) !important;
        margin-bottom: 16px !important;
    }
    .hero-lead {
        font-size: .9rem !important;
        margin-bottom: 28px !important;
    }
    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .hero-actions a,
    .hero-actions button {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    .hero-badge {
        display: none !important;
    }
    .hero-scroll-hint {
        display: none !important;
    }
}

/* ── TICKER ── */
@media (max-width: 768px) {
    .ticker-bar {
        height: 38px !important;
    }
    .ti {
        font-size: .58rem !important;
        padding: 0 18px !important;
    }
}

/* ── INTRO SECTION ── */
@media (max-width: 768px) {
    .intro-section {
        padding: 60px 0 !important;
    }
    .ig {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .img-wrap {
        display: none !important;
    }
    .intro-text, .ig > div:last-child {
        padding: 0 20px !important;
    }
    .stitle {
        font-size: clamp(1.8rem, 8vw, 3rem) !important;
    }
}

/* ── STATS BAND ── */
@media (max-width: 768px) {
    .stats-band {
        padding: 48px 0 !important;
    }
    .si {
        grid-template-columns: 1fr 1fr !important;
        gap: 2px !important;
    }
    .sc {
        padding: 24px 10px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,.07) !important;
    }
    .sc .n {
        font-size: 2.8rem !important;
    }
    .sc .l {
        font-size: .58rem !important;
    }
}

/* ── SERVICES GRID ── */
@media (max-width: 768px) {
    .svc-section {
        padding: 60px 0 !important;
    }
    .svc-hdr {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 0 20px !important;
        margin-bottom: 24px !important;
    }
    .svc-grid {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }
    .svc-card {
        padding: 32px 24px 28px !important;
    }
    .svc-card.sw {
        grid-column: span 1 !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 36px 24px !important;
    }
    .svc-card.sw .wb {
        flex-direction: column !important;
        gap: 10px !important;
        min-width: unset !important;
    }
    .svc-card.sw .wb a {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ── PARTNERS ── */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0 !important;
    }
    .partners-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2px !important;
        margin-top: 32px !important;
    }
    .partner-tile {
        padding: 24px 12px !important;
        height: 150px !important;
    }
    .partners-grid .partner-tile img {
        height: 60px !important;
    }
}

/* ── CTA BAND ── */
@media (max-width: 768px) {
    .cta-band {
        padding: 60px 0 !important;
    }
    .cta-in {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 20px !important;
    }
    .cta-band h2 {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
    }
    .cta-btns {
        flex-direction: column !important;
        gap: 10px !important;
        min-width: unset !important;
    }
    .cta-btns a, .cta-btns button {
        width: 100% !important;
        text-align: center !important;
    }
    .cta-band::after {
        display: none !important;
    }
}

/* ── FOOTER ── */
@media (max-width: 768px) {
    .footer-main {
        padding: 48px 0 36px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }
    .container {
        padding: 0 20px !important;
    }
}

/* ── INNER PAGE HERO ── */
@media (max-width: 768px) {
    .inner-hero {
        padding: 90px 0 48px !important;
    }
    .inner-hero h1 {
        font-size: clamp(2rem, 9vw, 3.5rem) !important;
    }
    .ih-inner {
        padding: 0 20px !important;
    }
}

/* ── SERVICES PAGE DETAIL BLOCKS ── */
@media (max-width: 768px) {
    .sd {
        grid-template-columns: 1fr !important;
    }
    .sd.flip .sdc { order: 1 !important; }
    .sd.flip .sd-vis { order: 2 !important; }
    .sdc {
        padding: 48px 20px !important;
    }
    .sd-vis {
        min-height: 220px !important;
    }
    .sd-vis img {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }
    .sd-t {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
    }
}

/* ── VALUES PAGE ── */
@media (max-width: 768px) {
    .val-section {
        padding: 60px 0 !important;
    }
    .vg {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }
    .val-feat {
        grid-column: span 1 !important;
        grid-template-columns: 1fr !important;
    }
    .vfq {
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,.07) !important;
        padding: 40px 20px !important;
    }
    .vfc {
        padding: 40px 20px !important;
    }
}

/* ── CONTACT PAGE ── */
@media (max-width: 768px) {
    .csplit {
        grid-template-columns: 1fr !important;
    }
    .ci2, .cf {
        padding: 52px 20px !important;
    }
    .fr {
        grid-template-columns: 1fr !important;
    }
}

/* ── GENERAL CONTAINER ── */
@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }
}

/* ── SMALL PHONES (iPhone SE etc) ── */
@media (max-width: 390px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }
    .nav-cta {
        display: none !important;
    }
}

/* ── TABLET ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .svc-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .svc-card.sw {
        grid-column: span 2 !important;
    }
    .ig {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .sd {
        grid-template-columns: 1fr !important;
    }
    .csplit {
        grid-template-columns: 1fr !important;
    }
}
