/* ═══════════════════════════════════════════════
   Traditions Fire Consulting — Shared Styles
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:      #111111;
  --navy-2:    #181818;
  --navy-3:    #222222;
  --red:       #c9a227;
  --red-2:     #a8831e;
  --fire:      #b8922a;
  --fire-2:    #d4a940;
  --gold:      #c9a227;
  --white:     #ffffff;
  --off-white: #f7f6f3;
  --gray-light:#e5e2d8;
  --gray:      #8a8070;
  --text:      #1a1a1a;
  --text-muted:#5a5248;
  --border:    rgba(255,255,255,0.08);
  --shadow:    0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --ease:      cubic-bezier(0.25,0.46,0.45,0.94);
  --radius:    8px;
  --radius-lg: 16px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 12px;
}
.section-title { color: var(--navy); margin-bottom: 16px; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-2);
  border-color: var(--red-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}
.btn-fire {
  background: var(--fire);
  color: #fff;
  border-color: var(--fire);
}
.btn-fire:hover {
  background: #c44415;
  border-color: #c44415;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224,79,26,0.35);
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s;
  height: 76px;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.site-header.solid {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #fff;
}
.logo-flame {
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-flame svg { width: 22px; height: 22px; fill: #fff; }
.nav-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.ft-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.main-nav a.active { color: var(--fire-2); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-login {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 20px;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn-login:hover {
  background: var(--red-2);
  box-shadow: 0 4px 14px rgba(192,57,43,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0; right: 0;
  background: var(--navy);
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 11px 12px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mobile-nav .btn-login {
  margin-top: 10px;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.85) 0%,
    rgba(13,27,42,0.72) 50%,
    rgba(13,27,42,0.78) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 76px;
}
.hero-inner {
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,79,26,0.15);
  border: 1px solid rgba(224,79,26,0.35);
  color: var(--fire-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--fire-2); }
.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  font-size: clamp(2.2rem,5.5vw,4rem);
  line-height: 1.1;
}
.hero h1 .accent { color: var(--fire-2); }
.hero p {
  font-size: clamp(1rem,2vw,1.15rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.3); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: var(--navy-2);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 8px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--fire-2);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════
   SERVICES OVERVIEW
══════════════════════════════ */
.services-section { padding: 96px 0; }
.services-header {
  text-align: center;
  margin-bottom: 64px;
}
.services-header .section-sub { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192,57,43,0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(192,57,43,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--red); }
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ══════════════════════════════
   WHY TRADITIONS
══════════════════════════════ */
.why-section {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-title { color: #fff; }
.why-text .section-sub { color: rgba(255,255,255,0.65); max-width: 500px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.2s, border-color 0.2s;
}
.why-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(224,79,26,0.3);
}
.why-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(224,79,26,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-card-icon svg { width: 22px; height: 22px; fill: var(--fire-2); }
.why-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.why-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: var(--off-white);
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-sub { margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════
   MARQUEE / CITY SCROLL
══════════════════════════════ */
.marquee-section {
  padding: 64px 0;
  overflow: hidden;
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.marquee-label {
  text-align: center;
  margin-bottom: 36px;
}
.marquee-label h3 {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.marquee-label strong { color: var(--navy); font-family: 'Montserrat', sans-serif; }
.marquee-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.marquee-inner {
  display: flex;
  gap: 48px;
  animation: marqueeScroll 55s linear infinite;
  width: max-content;
}
.marquee-inner:hover { animation-play-state: paused; }
.city-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.city-logo-item:hover { transform: scale(1.05); }
.city-logo-img {
  height: 56px;
  width: 90px;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.65);
  transition: filter 0.25s;
}
.city-logo-item:hover .city-logo-img { filter: grayscale(0%) opacity(1); }
.city-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════
   PAGE HERO (Interior pages)
══════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .section-label { display: block; margin-bottom: 12px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.75;
}
.page-hero-inner { position: relative; z-index: 1; }

/* ══════════════════════════════
   CONTENT SECTIONS
══════════════════════════════ */
.section { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--off-white); }

/* Content + sidebar layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.content-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.content-body h3 {
  margin: 32px 0 16px;
  color: var(--navy);
}

/* Checklist */
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.check-icon {
  width: 20px;
  height: 20px;
  background: rgba(192,57,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg { width: 10px; height: 10px; fill: var(--red); }

/* Sidebar card */
.sidebar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
  position: sticky;
  top: 100px;
}
.sidebar-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.sidebar-item:last-of-type { border-bottom: none; }
.sidebar-item svg { width: 16px; height: 16px; fill: var(--fire-2); flex-shrink: 0; }
.sidebar-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* Info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin: 36px 0;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.info-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 6px;
}
.info-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Divider */
.divider { height: 1px; background: var(--gray-light); margin: 40px 0; }

/* Download button */
.download-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}
.download-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download-icon svg { width: 24px; height: 24px; fill: #fff; }
.download-text h4 { margin-bottom: 4px; font-size: 0.95rem; }
.download-text p { font-size: 0.85rem; color: var(--text-muted); }

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.about-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.profile-visual {
  background: var(--navy-2);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  position: sticky;
  top: 100px;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  background: rgba(224,79,26,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid rgba(224,79,26,0.3);
}
.profile-avatar svg { width: 60px; height: 60px; fill: var(--fire-2); }
.profile-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.profile-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.cert-badge {
  display: inline-block;
  background: rgba(224,79,26,0.2);
  border: 1px solid rgba(224,79,26,0.35);
  color: var(--fire-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  margin: 3px;
  text-transform: uppercase;
}
.profile-certs { margin-top: 20px; }
.profile-certs-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.memberships { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.membership-item {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.membership-item:last-child { border-bottom: none; }

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; fill: var(--red); }
.contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-value { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.contact-info-value a { color: var(--navy); }
.contact-info-value a:hover { color: var(--red); }

/* Form */
.form-section { padding: 80px 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
}
.field label .req { color: var(--red); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a7a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* File upload */
.file-upload-area {
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-upload-area:hover {
  border-color: var(--red);
  background: rgba(192,57,43,0.03);
}
.file-upload-area svg { width: 32px; height: 32px; fill: var(--gray); margin: 0 auto 10px; }
.file-upload-area p { font-size: 0.9rem; color: var(--text-muted); }
.file-upload-area strong { color: var(--red); }

/* ══════════════════════════════
   LOGIN PAGE
══════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 20px;
}
.login-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.login-card h2 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 1.5rem;
}
.login-card .login-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-form .field input { padding: 14px; font-size: 1rem; }
.login-forgot {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  text-align: right;
  margin-top: -10px;
}
.login-err {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.25);
  color: var(--red-2);
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}
.login-back {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.login-back a { color: var(--red); font-weight: 600; }

/* ══════════════════════════════
   DASHBOARD
══════════════════════════════ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--off-white);
}
.dash-sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: auto;
}
.dash-sidebar-logo {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-nav {
  padding: 16px 12px;
  flex: 1;
}
.dash-nav-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 8px 12px 6px;
  margin-top: 10px;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  margin-bottom: 2px;
}
.dash-nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.dash-nav-item.active {
  background: rgba(224,79,26,0.18);
  color: var(--fire-2);
  font-weight: 600;
}
.dash-nav-item svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.dash-nav-item .badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.dash-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dash-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.dash-sidebar-footer a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.dash-sidebar-footer svg { width: 16px; height: 16px; fill: currentColor; }

/* Dashboard main */
.dash-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dash-topbar {
  background: #fff;
  border-bottom: 1px solid var(--gray-light);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-topbar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-avatar {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.dash-username { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.dash-content { padding: 32px; }

/* Dashboard stat cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.dash-stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-light);
  transition: box-shadow 0.2s;
}
.dash-stat-card:hover { box-shadow: var(--shadow); }
.dash-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.dash-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-stat-icon svg { width: 18px; height: 18px; }
.dash-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-stat-sub { font-size: 11.5px; color: var(--text-muted); }
.dash-stat-sub .pos { color: #27ae60; font-weight: 600; }
.dash-stat-sub .neg { color: var(--red); font-weight: 600; }

/* Dashboard sections */
.dash-section { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-light); margin-bottom: 24px; overflow: hidden; }
.dash-section-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-section-head h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.dash-section-head .dash-link { font-size: 13px; color: var(--red); font-weight: 600; }

/* Project table */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
}
.dash-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 13.5px;
  color: var(--text);
  vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(245,247,250,0.7); }

/* Status badges */
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.status-review { background: rgba(52,152,219,0.12); color: #2980b9; }
.status-approved { background: rgba(39,174,96,0.12); color: #27ae60; }
.status-pending { background: rgba(230,126,34,0.12); color: #d35400; }
.status-corrections { background: rgba(192,57,43,0.12); color: var(--red-2); }
.status-complete { background: rgba(39,174,96,0.12); color: #27ae60; }
.status-paid { background: rgba(39,174,96,0.12); color: #27ae60; }
.status-due { background: rgba(230,126,34,0.12); color: #d35400; }

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
}
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-align: center;
}
.quick-action-btn:hover {
  background: rgba(192,57,43,0.05);
  border-color: rgba(192,57,43,0.2);
  transform: translateY(-2px);
}
.qa-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qa-icon svg { width: 22px; height: 22px; fill: var(--red); }
.qa-label { font-size: 12.5px; font-weight: 700; color: var(--navy); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.modal-head h3 { font-size: 1.2rem; }
.modal-close {
  width: 32px; height: 32px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--gray-light); }
.modal-close svg { width: 16px; height: 16px; fill: var(--text-muted); }

/* ══════════════════════════════
   FOOTER (CLM format)
══════════════════════════════ */
footer {
  background: #0a0a0a;
  color: #fff;
  padding: 72px 0 0;
  margin-top: 0;
}
.ft-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.ft-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 18px 0;
}
.ft-links { display: flex; flex-direction: column; gap: 7px; }
.ft-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ft-links a:hover { color: var(--fire-2); }
.ft-links svg { width: 14px; height: 14px; fill: currentColor; }
.ft-col { display: flex; flex-direction: column; gap: 11px; }
.ft-col h4 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 6px;
}
.ft-col a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  width: fit-content;
  position: relative;
  transition: color 0.15s;
}
.ft-col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px;
  width: 100%;
  background: var(--fire-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.ft-col a:hover { color: #fff; }
.ft-col a:hover::after { transform: scaleX(1); }
.ft-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  padding-bottom: 24px;
}
.ft-bot p { font-size: 13px; color: rgba(255,255,255,0.4); }
.ft-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  padding: 7px 14px;
  border-radius: 100px;
}
.ft-logo-flame {
  width: 36px;
  height: 36px;
  background: transparent;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ft-logo-flame svg { width: 20px; height: 20px; fill: #fff; }
.ft-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ft-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.ft-logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════
   UTILITY
══════════════════════════════ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* Notification */
.notif {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
}
.notif.show { transform: translateY(0); opacity: 1; }
.notif svg { width: 18px; height: 18px; fill: var(--fire-2); flex-shrink: 0; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .about-profile { grid-template-columns: 1fr; }
  .profile-visual { position: static; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; position: relative; height: auto; }
  .dash-main { margin-left: 0; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .quick-actions { grid-template-columns: 1fr 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .login-card { padding: 36px 24px; }
  .hero-ctas { flex-direction: column; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
}
