/* ============================================
   ALEMITRA — CUSTOM CSS
   ============================================ */

:root {
  --navy:    #0B1D2E;
  --navy-mid:#12243A;
  --teal:    #3B9EA5;
  --teal-lt: #4BB8C1;
  --silver:  #B8C4CE;
  --off-wht: #E8EEF4;
  --white:   #FFFFFF;
  --amber:   #D97706;
  --amber-bg:#FFF8ED;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-wht);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 2rem;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, color 0.2s;
  margin-left: 0.75rem;
}
.btn-ghost:hover { border-color: var(--teal-lt); color: var(--teal-lt); }

.btn-ghost-sm {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.btn-ghost-sm:hover { color: var(--navy); border-color: var(--navy); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,158,165,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,165,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(11,29,46,0.8), transparent);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-block;
  background: rgba(59,158,165,0.15);
  border: 1px solid rgba(59,158,165,0.3);
  color: var(--teal-lt);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.hero-headline em {
  font-style: italic;
  color: var(--teal-lt);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions { margin-bottom: 3rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero-trust .dot {
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
}

/* ============================================
   KPI SECTION
   ============================================ */
.kpis { background: var(--white); padding: 5rem 2rem; }
.kpi-inner { max-width: 1100px; margin: 0 auto; }
.kpi-header { margin-bottom: 3rem; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.kpi-card {
  background: var(--off-wht);
  border: 1px solid rgba(184,196,206,0.3);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kpi-card:hover { box-shadow: 0 8px 32px rgba(11,29,46,0.08); transform: translateY(-2px); }
.kpi-card--wide { grid-column: span 1; }
.kpi-icon {
  width: 44px; height: 44px;
  background: rgba(59,158,165,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.kpi-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.kpi-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.kpi-desc {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.55;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why { background: var(--navy); color: var(--white); padding: 6rem 2rem; }
.why-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why .section-eyebrow { color: var(--teal-lt); }
.why .section-title { color: var(--white); }
.why-body { font-size: 1rem; color: var(--silver); line-height: 1.75; margin-bottom: 2rem; }
.why-right { display: flex; flex-direction: column; gap: 0; }
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.feature:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.feature-icon {
  width: 24px; height: 24px;
  background: rgba(59,158,165,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-lt);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.feature p { font-size: 0.8rem; color: var(--silver); line-height: 1.5; }

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.problems { background: var(--white); padding: 6rem 2rem; }
.problems-inner { max-width: 1100px; margin: 0 auto; }
.problems .section-title { max-width: 600px; }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.problem-card {
  background: var(--amber-bg);
  border: 1px solid rgba(217,119,6,0.15);
  border-radius: 8px;
  padding: 1.5rem;
}
.problem-icon {
  width: 36px; height: 36px;
  background: rgba(217,119,6,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  margin-bottom: 1rem;
}
.problem-card h4 { font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.problem-card p { font-size: 0.78rem; color: #7A5C30; line-height: 1.5; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services { background: var(--off-wht); padding: 6rem 2rem; }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services .section-title { margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(184,196,206,0.3);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(11,29,46,0.08); transform: translateY(-2px); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.service-icon {
  width: 40px; height: 40px;
  background: rgba(59,158,165,0.08);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.service-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--teal-lt);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.service-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3; }
.service-card p { font-size: 0.8rem; color: var(--silver); line-height: 1.6; flex: 1; }

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries { background: var(--white); padding: 6rem 2rem; }
.industries-inner { max-width: 1100px; margin: 0 auto; }
.industries .section-title { margin-bottom: 3rem; max-width: 550px; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.industry-card {
  background: var(--off-wht);
  border: 1px solid rgba(184,196,206,0.25);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.industry-card:hover { box-shadow: 0 6px 24px rgba(11,29,46,0.07); transform: translateY(-2px); }
.industry-card--accent {
  background: var(--navy);
  border-color: rgba(59,158,165,0.2);
}
.industry-card--accent h4 { color: var(--white); }
.industry-card--accent p { color: var(--silver); }
.industry-icon {
  width: 36px; height: 36px;
  background: rgba(59,158,165,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}
.industry-card--accent .industry-icon { background: rgba(59,158,165,0.15); }
.industry-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.78rem; color: #5A7080; line-height: 1.5; }

/* ============================================
   CLOSING SECTION
   ============================================ */
.closing { background: var(--navy-mid); padding: 6rem 2rem; }
.closing-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: center; }
.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing-content p { font-size: 0.95rem; color: var(--silver); line-height: 1.75; margin-bottom: 1rem; }
.closing-cta { margin-top: 2rem; }
.closing-stats { display: flex; flex-direction: column; gap: 2rem; }
.closing-stat {}
.closing-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--teal-lt);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.closing-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--navy); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.82rem; color: var(--silver); line-height: 1.6; max-width: 300px; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.25rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--silver);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .closing-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .kpi-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; margin-top: 0.75rem; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero-trust .dot { display: none; }
  .closing-stat-number { font-size: 2rem; }
}