/* Gravison Group — style.css */
/* Design: quiet confidence. Dark navy, clean white, no gimmicks. */

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

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1b2d42;
  --navy-light: #243d56;
  --white:      #ffffff;
  --off-white:  #f4f6f8;
  --muted:      #8a9bb0;
  --accent:     #2e7df7;
  --accent-hov: #1a6ae0;
  --text:       #e8edf2;
  --text-dark:  #1b2d42;
  --border:     rgba(255,255,255,0.08);
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--accent-hov);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Section base ── */
section { padding: 80px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ── Services ── */
.services {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Portfolio ── */
.portfolio {
  background: var(--navy);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  background: var(--navy-mid);
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.15s;
}

.portfolio-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.portfolio-domain {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.portfolio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.portfolio-stat {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Why us ── */
.why {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  background: var(--navy);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-email a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email a:hover { color: var(--white); }

/* ── Mobile ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 56px; }
  section { padding: 60px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
