/* ============================================================
   Algartaim Chliste Ltd — stylesheet
   Theme: dark navy, green accent, minimal
   ============================================================ */

/* ── Custom properties ── */
:root {
  --bg:         #0b0f1e;
  --bg-2:       #111626;
  --bg-3:       #161d30;
  --border:     rgba(255,255,255,0.07);
  --accent:     #5cb85c;
  --accent-dim: #3d8c3d;
  --text:       #e2e8f0;
  --text-muted: #8899aa;
  --white:      #ffffff;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;

  --max-w: 1140px;
  --section-py: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ── */
.container {
  width: min(var(--max-w), 100% - 2 * 24px);
  margin-inline: auto;
}
.accent { color: var(--accent); }
.optional { color: var(--text-muted); font-size: 0.85em; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover { background: #6dcf6d; }
.btn--outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: rgba(92,184,92,0.1); }
.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.btn--ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn--full { width: 100%; justify-content: center; }

/* ── Section base ── */
.section { padding-block: var(--section-py); }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-lead { color: var(--text-muted); font-size: 1.1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,15,30,0.85);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  gap: 32px;
}
.nav__logo-img {
  height: 450px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-block: 148px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(92,184,92,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(92,184,92,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 780px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(92,184,92,0.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__headline {
  margin-bottom: 24px;
  color: var(--white);
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── Services ── */
.services { background: var(--bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(92,184,92,0.35);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ── About ── */
.about { background: var(--bg); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text h2 { margin-bottom: 24px; }
.about__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.about__text p em { color: var(--text); font-style: italic; }
.about__text .btn { margin-top: 12px; }
.about__aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about__stat {
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Clients ── */
.clients { background: var(--bg-2); }
.clients__placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact { background: var(--bg); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact__text h2 { margin-bottom: 20px; }
.contact__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.975rem;
  line-height: 1.8;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; }
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 56px 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer__logo { height: 40px; width: auto; }
.footer__brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__nav a:hover { color: var(--text); }
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__aside { flex-direction: row; flex-wrap: wrap; }
  .about__stat { flex: 1; min-width: 200px; }
}

@media (max-width: 640px) {
  :root { --section-py: 64px; }
  .nav__links { display: none; flex-direction: column; position: fixed;
    inset: 72px 0 0 0; background: var(--bg); padding: 32px 24px; gap: 24px; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-direction: column; gap: 16px; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .about__aside { flex-direction: column; }
}
