/* MédecinSportSanté — Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0a0f1a;
  --slate: #1a2233;
  --muted: #6b7a8d;
  --light: #c4cdd8;
  --cream: #f4f1ec;
  --accent: #2dd4a8;
  --accent-dim: #1a9b78;
  --warm: #e8ddd0;
  --danger: #e74c3c;
  --radius: 8px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cream); }

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

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

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.5px;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  transition: color .2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 6px;
  transition: background .2s, transform .2s !important;
}

.nav-cta:hover {
  background: var(--accent-dim);
  color: var(--cream) !important;
  transform: translateY(-1px);
}

.lang-toggle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile menu button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  margin-bottom: 24px;
}

h1 span, h2 span, h3 span { color: var(--accent); }

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(45, 212, 168, 0.25);
  border-radius: 4px;
}

.section-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dim);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.15);
}

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

.hero-stat-row {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cream);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* =========================================
   CREDENTIALS STRIP
   ========================================= */
.cred-strip {
  background: var(--slate);
  padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cred-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.cred-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.cred-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cred-item {
  font-size: 14px;
  color: var(--light);
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: 100px 40px;
}

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

.section--gradient {
  background: linear-gradient(180deg, var(--slate) 0%, var(--ink) 100%);
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-text {
  margin: 0 auto;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.service-card {
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  transition: border-color .3s, transform .3s;
}

.service-card:hover {
  border-color: rgba(45, 212, 168, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 { margin-bottom: 12px; }

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

.service-card .service-list {
  list-style: none;
  margin-top: 16px;
}

.service-card .service-list li {
  font-size: 14px;
  color: var(--light);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card .service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================
   ABOUT / BIO
   ========================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.bio-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.bio-text p strong { color: var(--cream); }

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(45, 212, 168, 0.15);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
}

.timeline-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.award-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 168, 0.15);
  background: rgba(45, 212, 168, 0.03);
}

.award-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.award-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.award-org {
  font-size: 14px;
  color: var(--muted);
}

/* Clinics */
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.clinic-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.clinic-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.clinic-card .clinic-location {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 12px;
}

.clinic-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--cream);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select option {
  background: var(--slate);
  color: var(--cream);
}

.form-status {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(45, 212, 168, 0.1);
  border: 1px solid rgba(45, 212, 168, 0.2);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: var(--danger);
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 168, 0.08);
  border-radius: 10px;
}

.contact-info-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================
   QUOTE / VISION
   ========================================= */
.vision {
  padding: 100px 40px;
  background: linear-gradient(180deg, var(--slate) 0%, var(--ink) 100%);
  text-align: center;
}

.vision-inner {
  max-width: 700px;
  margin: 0 auto;
}

.vision blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.vision .attr {
  font-size: 14px;
  color: var(--muted);
}

.vision .attr strong { color: var(--accent); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  padding: 80px 40px;
  text-align: center;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.cta-banner-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--ink);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* =========================================
   PAGE HEADER (inner pages)
   ========================================= */
.page-header {
  padding: 140px 40px 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.page-header .section-text {
  max-width: 640px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .clinics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-stat-row { flex-direction: column; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 24px; }
  .page-header { padding: 100px 24px 40px; }
  .cred-strip { padding: 32px 24px; }
  .vision { padding: 60px 24px; }
  .container { padding: 0 24px; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(10, 15, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-hamburger { display: flex; }

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

  .footer-links { justify-content: center; }
}

/* =========================================
   SERVICE DETAIL (full page)
   ========================================= */
.service-detail {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.service-detail-card {
  padding: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  margin-bottom: 40px;
}

.service-detail-card .service-icon { font-size: 48px; }

.service-detail-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.service-detail-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-detail-card ul {
  list-style: none;
  margin-top: 12px;
}

.service-detail-card ul li {
  font-size: 15px;
  color: var(--light);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-card ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================
   HERO WITH PHOTO
   ========================================= */
.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--max-w);
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-photo {
  flex: 0 0 280px;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 2px solid rgba(45, 212, 168, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-photo { flex: 0 0 auto; }
  .hero-photo img {
    width: 200px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .hero-photo img {
    width: 160px;
    height: 200px;
  }
}

/* =========================================
   ABOUT PORTRAIT
   ========================================= */
.about-portrait {
  text-align: center;
  margin-bottom: 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.about-portrait img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 2px solid rgba(45, 212, 168, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin: 0 auto 16px;
}

.about-portrait .portrait-caption {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--muted);
}

.about-portrait .portrait-caption strong {
  color: var(--cream);
}

/* =========================================
   CLINIC PHOTO GALLERY
   ========================================= */
.clinic-gallery {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 0 40px;
}

.clinic-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.clinic-gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .3s;
}

.clinic-gallery-grid img:hover {
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .clinic-gallery-grid {
    grid-template-columns: 1fr;
  }
  .clinic-gallery { padding: 0 24px; }
}

/* =========================================
   VIDEO SECTION
   ========================================= */
.videos-section {
  padding: 100px 40px;
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.videos-section .section-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color .3s, transform .3s;
}

.video-card:hover {
  border-color: rgba(45, 212, 168, 0.2);
  transform: translateY(-4px);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-title {
  padding: 16px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-section { padding: 60px 24px; }
}

@media (max-width: 600px) {
  .videos-grid { grid-template-columns: 1fr; }
}

/* =========================================
   LAZY LOAD IMAGES
   ========================================= */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity .3s;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 200;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus { top: 8px; }

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
}

.blog-card {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  transition: border-color .3s, transform .3s;
}

.blog-card:hover {
  border-color: rgba(45, 212, 168, 0.2);
  transform: translateY(-4px);
}

.blog-card-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.blog-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.blog-card h2 a {
  color: var(--cream);
  transition: color .2s;
}

.blog-card h2 a:hover {
  color: var(--accent);
}

.blog-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.blog-card-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color .2s;
}

.blog-card-link:hover {
  color: var(--cream);
}

/* Article content */
.article-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--light);
}

.article-content h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--cream);
}

.article-content h3 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--light);
}

.article-content strong {
  color: var(--cream);
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--light);
}

.article-content li strong {
  color: var(--cream);
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--cream);
}

/* Back link */
.back-link {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  transition: color .2s;
}

.back-link:hover {
  color: var(--cream);
}

/* Footer social */
.footer-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

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

@media (max-width: 768px) {
  .blog-card { padding: 24px; }
  .blog-card h2 { font-size: 20px; }
  .article-content { font-size: 16px; }
  .article-content h2 { font-size: 24px; margin-top: 36px; }
}
