/* ===== Reset & Variables ===== */

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

:root {
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text: #e5e5e5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-subtle: rgba(245, 158, 11, 0.08);
  --accent-glow: rgba(245, 158, 11, 0.12);
  --border: #262626;
  --border-subtle: #1c1c1c;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1080px;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: Georgia, 'Times New Roman', Times, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--accent);
}


/* ===== Navigation ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-brand {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  color: var(--text-muted);
}

.nav-cta:hover {
  color: var(--text);
}


/* ===== Hero ===== */

.hero {
  padding: 140px 0 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 40%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--accent);
  margin-top: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.hero-tagline {
  color: var(--text-dim);
  margin-top: 12px;
  font-size: 0.9375rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.hero-photo {
  width: 340px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0a0a0a;
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-dim);
  color: var(--text);
}


/* ===== Sections ===== */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 680px;
}


/* ===== Service Cards ===== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--border);
}

.card-marker {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}


/* ===== Topic Cards ===== */

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

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.topic-card:hover {
  border-color: var(--accent);
}

.topic-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.topic-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.topic-card-wide {
  grid-column: 1 / -1;
}


/* ===== Credentials ===== */

.credentials {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.credentials-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.credential {
  text-align: center;
}

.credential-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.credential-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.credential-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}


/* ===== Training List ===== */

.training-list {
  margin-top: 32px;
}

.training-item {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.training-item:last-child {
  border-bottom: none;
}

.training-year {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 100px;
  padding-top: 2px;
}

.training-details h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.training-details p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}


/* ===== Tips ===== */

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

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.tip-card:hover {
  border-color: var(--border);
}

.tip-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 4px 10px;
  border-radius: 4px;
}

.tip-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0 8px;
  color: var(--text);
}

.tip-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}


/* ===== Contact ===== */

.contact-inner {
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease;
  color: var(--text);
  min-width: 200px;
}

.contact-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.contact-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.contact-value {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.9375rem;
}


/* ===== Footer ===== */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-tagline {
  font-style: italic;
}


/* ===== Responsive ===== */

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-photo {
    order: -1;
    width: 220px;
    margin: 0 auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .credentials-inner {
    flex-direction: column;
    gap: 20px;
  }

  .credential-divider {
    width: 40px;
    height: 1px;
  }

  .training-item {
    flex-direction: column;
    gap: 4px;
  }

  .training-year {
    min-width: auto;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 100%;
    max-width: 320px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .topic-card-wide {
    grid-column: auto;
  }
}
