/* ============================================
   Ehi Heritage Incorporated – Main Stylesheet
   ============================================ */

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

:root {
  --primary:    #0a2540;
  --accent:     #1a6fc4;
  --accent-lt:  #2589e0;
  --gold:       #c8a84b;
  --light-bg:   #f5f7fa;
  --white:      #ffffff;
  --text:       #2d3748;
  --text-muted: #6b7a99;
  --border:     #dde3ed;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(10,37,64,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-lt); }

img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name  { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: .3px; }
.logo-tagline { font-size: 11px; color: var(--gold); letter-spacing: .5px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-lt) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #133060 55%, #1a4a8a 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,168,75,.18);
  border: 1px solid rgba(200,168,75,.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 22px;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--primary); }
.btn-primary:hover { background: #dbb955; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,168,75,.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.stat-item { color: var(--white); }
.stat-number { font-size: 36px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ── SECTIONS ── */
section { padding: 84px 0; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 16px; letter-spacing: -.3px; }
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 600px; line-height: 1.75; }
.section-header { margin-bottom: 52px; }

/* ── SERVICES ── */
.services { background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(10,37,64,.14); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(26,111,196,.12), rgba(26,111,196,.06));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 26px;
}
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--primary), #1a4a8a);
  border-radius: 16px;
  padding: 52px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-visual h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--gold); }
.about-visual p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.about-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.about-list li::before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.feature-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--text); line-height: 1.65; }
.feature-icon { width: 28px; height: 28px; background: rgba(26,111,196,.12); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 14px; }

/* ── INDUSTRIES ── */
.industries { background: var(--light-bg); }
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow var(--transition), border-color var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.industry-item:hover { box-shadow: 0 4px 16px rgba(10,37,64,.08); border-color: var(--accent); }
.industry-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon { width: 42px; height: 42px; background: rgba(26,111,196,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.contact-item-text span, .contact-item-text a { font-size: 15px; color: var(--text); line-height: 1.5; }

.contact-form {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
}
.contact-form h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .4px; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,111,196,.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; justify-content: center; background: var(--accent); color: var(--white); border: none; padding: 15px; font-size: 16px; border-radius: var(--radius); cursor: pointer; font-weight: 600; transition: background var(--transition), transform var(--transition); }
.btn-submit:hover { background: var(--accent-lt); transform: translateY(-2px); }

/* ── FOOTER ── */
.site-footer { background: var(--primary); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.55); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--primary); padding: 60px 0 48px; }
.legal-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.legal-hero p { color: rgba(255,255,255,.6); font-size: 14px; }
.legal-content { max-width: 820px; margin: 0 auto; padding: 64px 0 80px; }
.legal-content h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.legal-content h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }
.legal-content p { font-size: 15px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--accent); }
.legal-intro { background: var(--light-bg); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 20px 24px; margin-bottom: 32px; font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 24px; gap: 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }
  .site-header { position: relative; }
  .hero { padding: 64px 0 52px; }
  .hero-stats { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 14px; }
  .contact-form { padding: 28px 20px; }
  .legal-content { padding: 40px 0 60px; }
}