/* =============================================
   MTS Exterior Services — styles.css
   ============================================= */

:root {
  --navy-deep: #060d1a;
  --navy: #0b1220;
  --navy-mid: #0f1b2d;
  --navy-light: #162a45;
  --steel: #5a7fa0;
  --steel-light: #8bacc7;
  --slate: #4a5568;
  --gray: #94a3b8;
  --border: #e2e8f0;
  --bg-off: #f7f8fa;
  --bg-white: #ffffff;
  --text-dark: #1a2332;
  --text-body: #3d4f63;
  --text-light: #6b7d92;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.9rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--navy-mid); }
.nav-contact-btn {
  background: var(--navy-mid) !important;
  border: 1px solid var(--navy-mid);
  color: #fff !important;
  padding: 0.55rem 1.5rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-contact-btn:hover {
  background: var(--navy-deep) !important;
  border-color: var(--navy-deep);
  color: #fff !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--navy-mid);
  transition: background 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 60%, #edf2f8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 6vw 5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* subtle background watermark circle */
.hero::after {
  content: '';
  position: absolute;
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,127,160,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.15s forwards;
}

/* Left column — Logo + Our Difference */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  padding-right: 4rem;
}
.hero-logo-img {
  height: clamp(130px, 12vw, 180px);
  width: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}
.hero-diff-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.hero-diff-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}
.hero-diff-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* Right column — Headline + copy + CTA */
.hero-right {
  padding-left: 4.5rem;
}
.hero-pre {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.07;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}
.hero-bullets li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.5;
}
.hero-bullets li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
}
.hero-cta-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 2.4rem;
  border-top: 1px solid var(--border);
}
.hero-cta-btn {
  display: inline-block;
  padding: 1.2rem 5rem;
  background: var(--navy-mid);
  color: #ffffff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.hero-cta-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,27,45,0.2);
}

/* ---- SECTIONS (shared) ---- */
section { padding: 5rem 4vw; }
.belief  { padding: 5.5rem 4vw; }
.services-section { padding: 5rem 4vw; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.section-label.light { color: var(--steel-light); }
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-heading.light { color: #ffffff; }
.section-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 560px;
}
.section-sub.light { color: var(--steel-light); opacity: 0.85; }

/* ---- BELIEF (DARK) ---- */
.belief {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #132238 100%);
}
.belief .section-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}
.belief-layout {
  max-width: 720px;
}
.belief-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  padding-left: 1.5rem;
  border-left: 3px solid var(--steel);
  margin-bottom: 1.6rem;
}
.belief-quote-break {
  display: block;
  margin-top: 0.3rem;
  color: var(--steel-light);
}
.belief-body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.belief-closer {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.65;
  padding-left: 1.5rem;
  margin-top: 1.8rem;
  border-left: 2px solid var(--steel);
}

/* ---- EXPAND BUTTONS ---- */
.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--steel-light);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
}
.expand-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}
.expand-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.expand-btn.active svg { transform: rotate(180deg); }
.expand-btn.btn-light {
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text-body);
}
.expand-btn.btn-light:hover {
  border-color: var(--steel);
  color: var(--navy-mid);
}
.expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s;
  opacity: 0;
}
.expandable.open {
  max-height: 400px;
  opacity: 1;
}
.expandable-inner {
  padding-top: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.75;
  padding-left: 1.5rem;
}
.expandable-inner.light { color: var(--steel-light); }
.expandable-inner.dark { color: var(--text-body); }

/* ---- SERVICES (LIGHT) ---- */
.services-section {
  background: var(--bg-off);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.service-tag {
  padding: 1.3rem;
  border: 1px solid var(--border);
  background: var(--bg-white);
  text-align: center;
  transition: all 0.3s;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 2px;
  cursor: default;
}
.service-tag:hover {
  border-color: var(--steel);
  background: linear-gradient(135deg, #ffffff, #f0f5fa);
  color: var(--navy-mid);
}
.services-footer-note {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 680px;
  border-left: 2px solid var(--steel);
  padding-left: 1.2rem;
}

/* ---- AUTHORITY (DARK) ---- */
.authority {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #132238 100%);
}
.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.authority-card {
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.35s;
  overflow: visible;
  border-radius: 2px;
  border-top: 2px solid transparent;
}
.authority-card:hover {
  border-color: rgba(90,127,160,0.4);
  border-top-color: var(--steel);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.authority-card.open {
  border-top-color: var(--steel);
  background: rgba(255,255,255,0.07);
}
.authority-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.authority-card h3 .toggle-icon {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.35);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}
.authority-card.open h3 .toggle-icon {
  transform: rotate(45deg);
  color: var(--steel-light);
}
.card-tagline {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--steel-light);
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0.85;
}
.authority-card .card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s;
  opacity: 0;
}
.authority-card.open .card-detail {
  max-height: 250px;
  opacity: 1;
}
.authority-card .card-detail p {
  padding-top: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ---- FRAMEWORK (LIGHT) ---- */
.framework { background: var(--bg-off); }
.framework-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 4rem;
  margin-top: 2.5rem;
  align-items: start;
}
.fw-step-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.fw-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--steel);
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bg-white), var(--bg-off));
}
.fw-step-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.fw-arrow-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.1rem 0 0.1rem 11px;
  color: var(--gray);
}
.fw-arrow-cell svg {
  width: 16px;
  height: 16px;
}
.fw-gap { /* empty right-col placeholder for arrow rows */ }
.fw-detail-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.fw-detail-last { border-bottom: none; }
.fw-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.fw-detail-row p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ---- INDUSTRIES (DARK) ---- */
.industries-section {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 50%, #132238 100%);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.industry-item {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: all 0.35s;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.industry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.industry-item:hover {
  border-color: rgba(90,127,160,0.35);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.industry-item:hover::before { opacity: 1; }
.industry-text { padding: 1.8rem; }
.industry-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.industry-text p {
  font-size: 0.87rem;
  color: var(--steel-light);
  line-height: 1.65;
  opacity: 0.85;
}

/* ---- LEADERSHIP (LIGHT) ---- */
.leadership { background: var(--bg-off); }
.leadership-single {
  max-width: 700px;
  margin-top: 1.5rem;
}
.leadership-body {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.leadership-closer {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding-left: 1.4rem;
  border-left: 3px solid var(--steel);
  margin: 1.5rem 0;
  line-height: 1.55;
}
.leadership-proof {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.leadership-proof li {
  font-size: 0.87rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.leadership-proof li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--steel);
  flex-shrink: 0;
}

/* ---- CTA (DARK) ---- */
.cta {
  text-align: center;
  padding: 5rem 4vw;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 50%, #162a45 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(90,127,160,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta .reveal { position: relative; z-index: 1; }
.cta-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--steel-light);
  margin-bottom: 2.2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}
.cta-btn {
  display: inline-block;
  padding: 0.85rem 2.8rem;
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--navy-mid) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
  text-decoration: none;
}
.cta-btn:hover {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}
.cta-reassurance {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}

/* ---- CONTACT DETAILS ---- */
.contact-details {
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  stroke: #ffffff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.contact-value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s;
}
a.contact-value:hover { color: var(--steel); }

/* ---- CONTACT MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,13,26,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--bg-white);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.8rem;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-dark); }
.modal-header { margin-bottom: 2rem; }
.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0.4rem 0 0.6rem;
}
.modal-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.modal-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.req { color: var(--steel); }
.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg-off);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--steel);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(90,127,160,0.12);
}
.modal-submit {
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  color: #ffffff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
}
.modal-submit:hover {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  box-shadow: 0 6px 20px rgba(15,27,45,0.25);
}
/* Success state */
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  gap: 1rem;
}
.modal-success svg {
  width: 52px;
  height: 52px;
  color: var(--steel);
  stroke: var(--steel);
}
.modal-success h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.modal-success p {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 320px;
}
.modal-success .modal-submit { width: auto; padding: 0.75rem 2.5rem; margin-top: 0.5rem; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  font-size: 0.75rem;
  color: var(--gray);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--navy-mid); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====================================================
   MEDIUM SCREENS (769px – 1100px)
   ==================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-left { padding-right: 2.5rem; }
  .hero-right { padding-left: 2.5rem; }
  .hero h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
  .hero-pre { font-size: 0.92rem; }
  .hero-tagline { font-size: 0.9rem; }
  .hero-diff-text { font-size: 0.84rem; }
  .hero-bullets li { font-size: 0.86rem; }
  .framework-layout { column-gap: 2.5rem; }
}

/* ====================================================
   RESPONSIVE — tablet & mobile (≤ 768px)
   ==================================================== */
@media (max-width: 768px) {

  /* NAV */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--slate) !important; font-size: 0.9rem; }
  .nav-links a:hover { color: var(--navy-mid) !important; }
  .hamburger { display: flex; }

  /* HERO */
  .hero { min-height: auto; padding: 7rem 6vw 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-logo-img { height: 80px; margin: 0; flex-shrink: 0; }
  .hero-diff { flex: 1; min-width: 200px; }
  .hero-right { padding-left: 0; }
  .hero-cta-row { border-top: none; padding-top: 0; }
  .hero-cta-btn { width: 100%; max-width: 320px; text-align: center; }

  /* BELIEF */
  .belief-layout { max-width: 100%; }
  .belief-quote { font-size: 1.15rem; }
  .belief-body { padding-left: 1rem; }
  .belief-closer { padding-left: 1rem; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* AUTHORITY */
  .authority-grid { grid-template-columns: 1fr; }

  /* FRAMEWORK */
  .framework-layout { grid-template-columns: 140px 1fr; column-gap: 1.5rem; }
  .fw-arrow-cell { padding-left: 8px; }

  /* INDUSTRIES */
  .industries-grid { grid-template-columns: 1fr; }

  /* LEADERSHIP */
  .leadership-single { max-width: 100%; }
  .leadership-proof { gap: 0.5rem; }

  /* CTA */
  .cta { padding: 4rem 6vw; }
  .cta-btn { width: 100%; max-width: 320px; }

  /* CONTACT DETAILS */
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* MODAL */
  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal-box {
    padding: 2rem 1.4rem;
    max-height: 92vh;
    border-radius: 4px 4px 0 0;
  }
  .form-row { grid-template-columns: 1fr; }

  /* SECTIONS */
  section { padding: 3.5rem 6vw; }
  .belief { padding: 4rem 6vw; }
  .services-section { padding: 3.5rem 6vw; }

  /* FOOTER */
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ====================================================
   SMALL PHONES (≤ 480px)
   ==================================================== */
@media (max-width: 480px) {

  /* NAV */
  .nav-links { width: 100%; border-left: none; border-bottom: 1px solid var(--border); }
  nav { padding: 0.9rem 5vw; }

  /* HERO */
  .hero { padding: 6.5rem 5vw 3.5rem; }
  .hero-left { flex-direction: column; }
  .hero-logo-img { height: 68px; }
  .hero-bullets li { font-size: 0.85rem; }
  /* FRAMEWORK */
  .framework-layout { grid-template-columns: 110px 1fr; column-gap: 1rem; }
  .fw-step-name { font-size: 0.88rem; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }

  /* AUTHORITY */
  .authority-card { padding: 1.3rem; }

  /* FRAMEWORK */
  .fw-step-name { font-size: 0.9rem; }

  /* INDUSTRIES */
  .industry-text { padding: 1.3rem; }

  /* MODAL */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 8px 8px 0 0; max-height: 95vh; padding: 1.8rem 1.2rem; }

  /* SECTIONS */
  section { padding: 3rem 5vw; }

  /* CTA */
  .cta-btn { max-width: 100%; }
}
