/* ============================================
   EAS Alliance — Computer Systems Design
   Palette: Forest Teal + Warm Copper + Cream
   ============================================ */

:root {
  --forest-900: #081c17;
  --forest-800: #0d332b;
  --forest-700: #124539;
  --forest-600: #195847;
  --forest-500: #206b55;
  --forest-400: #2d8067;
  --copper-600: #b85d2e;
  --copper-500: #d4794a;
  --copper-400: #e08d63;
  --copper-300: #eaa37f;
  --copper-200: #f3c0a6;
  --cream-50: #fcf9f5;
  --cream-100: #faf7f3;
  --cream-200: #f0ebe0;
  --white: #ffffff;
  --gray-100: #e8e4dc;
  --gray-200: #c8c3b8;
  --gray-300: #9e988b;
  --gray-400: #706a5f;
  --gray-500: #4a453c;
  --gray-600: #2d2922;
  --gray-700: #1c1a15;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 2px 16px rgba(8, 28, 23, 0.10);
  --shadow-lg: 0 8px 40px rgba(8, 28, 23, 0.16);
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream-50);
  color: var(--gray-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--copper-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--copper-400); }

h1, h2, h3, h4 { color: var(--forest-800); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--copper-500);
  margin-bottom: 10px;
}

.section-title { margin-bottom: 14px; }
.section-lead { color: var(--gray-400); font-size: 1.08rem; max-width: 640px; margin-bottom: 44px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; font-size: 0.93rem; font-weight: 600;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  text-decoration: none; letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--copper-500); color: var(--white); border-color: var(--copper-500);
}
.btn-primary:hover { background: var(--copper-400); border-color: var(--copper-400); color: var(--white); }

.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: var(--white); color: var(--forest-800); border-color: var(--white); }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--forest-800); height: 66px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 700; color: var(--white); text-decoration: none;
}
.navbar-brand .brand-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--copper-500), var(--copper-400));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: var(--white); flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 16px; color: rgba(255,255,255,0.7);
  font-size: 0.88rem; font-weight: 500; border-radius: 6px; transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }

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

/* ===== HERO (different from CIT Trade — full gradient overlay) ===== */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(160deg, var(--forest-900) 0%, var(--forest-700) 50%, var(--forest-600) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 121, 74, 0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--copper-500), var(--copper-400), var(--copper-600), var(--copper-500));
  background-size: 200% 100%; animation: slide 3.5s ease-in-out infinite;
}
@keyframes slide { 0%,100%{background-position:0 50%} 50%{background-position:100% 50%} }

.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-content h1 em { font-style: normal; color: var(--copper-300); }
.hero-content p { color: rgba(255,255,255,0.72); font-size: 1.08rem; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual-inner {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.hero-stat { text-align: center; }
.hero-stat .stat-big { display: block; font-size: 2rem; font-weight: 700; color: var(--copper-300); }
.hero-stat .stat-small { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ===== SERVICE CARDS (different layout — numbered list style) ===== */
.services-grid-alt {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px;
}
.service-card-alt {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all var(--transition);
  border-top: 3px solid transparent; position: relative;
}
.service-card-alt:hover { box-shadow: var(--shadow-lg); border-top-color: var(--copper-500); }
.service-card-alt .svc-num {
  font-size: 2.6rem; font-weight: 800; color: var(--cream-200); position: absolute; top: 18px; right: 22px;
  line-height: 1; pointer-events: none;
}
.service-card-alt h3 { margin-bottom: 8px; font-size: 1.15rem; position: relative; z-index: 1; }
.service-card-alt p { color: var(--gray-400); font-size: 0.92rem; position: relative; z-index: 1; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--forest-800); padding: 64px 0; color: var(--white); }
.about-strip .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.about-strip h2 { color: var(--white); margin-bottom: 14px; }
.about-strip p { color: rgba(255,255,255,0.7); margin-bottom: 14px; font-size: 0.97rem; }

.strip-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strip-stat { text-align: center; padding: 18px; background: rgba(255,255,255,0.05); border-radius: var(--radius); }
.strip-stat .sn { display: block; font-size: 1.7rem; font-weight: 700; color: var(--copper-300); }
.strip-stat .sl { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ===== PROCESS ROW ===== */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.process-item { text-align: center; padding: 28px 18px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); }
.process-item .pi-icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  background: var(--cream-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--forest-700);
}
.process-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.process-item p { color: var(--gray-400); font-size: 0.84rem; }
.process-arrow { display: flex; align-items: center; justify-content: center; color: var(--copper-500); font-size: 1.4rem; font-weight: 700; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
  padding: 68px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,121,74,0.12) 0%, transparent 70%);
  top: -60px; right: -60px; pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.68); margin-bottom: 26px; font-size: 1.02rem; }

/* ===== FOOTER ===== */
.footer { background: var(--forest-900); padding: 56px 0 24px; color: rgba(255,255,255,0.55); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .fb-name { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 0.87rem; transition: color var(--transition); }
.footer ul a:hover { color: var(--copper-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; }

/* ===== INNER PAGE HEADER ===== */
.page-header {
  background: linear-gradient(160deg, var(--forest-900), var(--forest-700));
  padding: 130px 0 60px; text-align: center; position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--copper-500), var(--copper-400), var(--copper-600));
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.62); font-size: 1.02rem; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 68px 0; }
.content-section.alt { background: var(--cream-100); }
.content-section h2 { margin-bottom: 18px; }
.content-section h3 { margin-bottom: 10px; margin-top: 28px; color: var(--forest-700); }
.content-section p { color: var(--gray-500); margin-bottom: 14px; max-width: 800px; }
.content-section ul, .content-section ol { margin-left: 20px; margin-bottom: 14px; color: var(--gray-500); }
.content-section li { margin-bottom: 7px; }

/* ===== VALUES GRID (hexagonal) ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 28px; }
.value-card {
  padding: 28px 22px; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); text-align: center; transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.value-card .vc-icon {
  width: 50px; height: 50px; margin: 0 auto 14px;
  background: var(--cream-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--copper-500);
}
.value-card h3 { margin-bottom: 6px; }
.value-card p { color: var(--gray-400); font-size: 0.88rem; }

/* ===== ABOUT GRID ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

.about-visual {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-700));
  border-radius: var(--radius-lg); height: 340px; display: flex;
  align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.about-visual .av-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.about-visual .av-icon { position: relative; z-index: 1; font-size: 3.8rem; color: var(--copper-500); }

/* ===== CONTACT GRID ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-card { display: flex; gap: 14px; padding: 22px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); margin-bottom: 14px; }
.contact-card .cc-icon {
  width: 44px; height: 44px; background: var(--forest-800); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--copper-400); flex-shrink: 0;
}
.contact-card h4 { font-size: 0.98rem; margin-bottom: 3px; }
.contact-card p { color: var(--gray-400); font-size: 0.88rem; margin: 0; }

.contact-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--gray-500); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 2px solid var(--gray-100); border-radius: var(--radius);
  font-size: 0.93rem; font-family: inherit; color: var(--gray-700); background: var(--cream-50);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--copper-500); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 840px; margin: 0 auto; }
.legal-content h2 { margin-top: 38px; margin-bottom: 14px; padding-bottom: 7px; border-bottom: 2px solid var(--gray-100); }
.legal-content h3 { margin-top: 24px; }
.legal-content p { color: var(--gray-500); margin-bottom: 12px; }
.legal-content ul { margin-bottom: 16px; padding-left: 22px; }
.legal-content li { color: var(--gray-500); margin-bottom: 5px; }

.legal-meta {
  background: var(--cream-100); border-left: 4px solid var(--copper-500);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0 24px;
}
.legal-meta p { margin-bottom: 3px; font-size: 0.92rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0; background: var(--forest-800);
    flex-direction: column; padding: 18px; gap: 2px; border-bottom: 2px solid var(--forest-600);
    transform: translateY(-120%); transition: transform 0.3s ease; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual-inner { display: none; }

  .about-grid, .contact-grid, .about-strip .container { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .process-row { grid-template-columns: 1fr; }
  .process-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; }
  .strip-stats { grid-template-columns: 1fr; }
}
