/* ═══════════════════════════════════════════════
   MedMaestro — Page d'accueil dynamique 3D
   ═══════════════════════════════════════════════ */

/* ── Remise à zéro des sections standard ── */
.main { padding-block: 0; gap: 0; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.h-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, #02081a 0%, #081432 45%, #0b1d45 100%);
}

/* Logo dans le hero */
.h-logomark {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  padding: 6px;
  margin-bottom: 28px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

/* Canvas particules */
#h-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
}

/* Blobs animés */
.h-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.h-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #1a5fa8 0%, transparent 70%);
  top: -200px; right: -150px; opacity: .35;
  animation: hblob1 12s ease-in-out infinite;
}
.h-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0e3d78 0%, transparent 70%);
  bottom: -150px; left: -100px; opacity: .4;
  animation: hblob2 15s ease-in-out infinite;
}
.h-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #6c2bd9 0%, transparent 70%);
  top: 40%; right: 30%; opacity: .2;
  animation: hblob3 9s ease-in-out infinite;
}
@keyframes hblob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-60px, 40px) scale(1.1); }
  70%     { transform: translate(30px,-30px) scale(.9); }
}
@keyframes hblob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(50px,-60px) scale(1.08); }
}
@keyframes hblob3 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px, 30px) scale(1.15); }
  66%     { transform: translate(-30px,-20px) scale(.88); }
}

/* Grille hero */
.h-hero-in {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 100px max(24px, env(safe-area-inset-left)) 80px;
}

/* Texte gauche */
.h-text { display: grid; gap: 0; }

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 28px;
  animation: h-fadein .8s ease both;
}
.h-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: hdot 2.5s ease-in-out infinite;
}
@keyframes hdot {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #4ade80; }
  50%     { opacity: .5; transform: scale(.7); box-shadow: 0 0 3px #4ade80; }
}

.h-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
  animation: h-fadein .9s .1s ease both;
}
.h-title em {
  font-style: normal;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: h-grad 4s linear infinite;
}
@keyframes h-grad {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.h-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin: 0 0 38px;
  max-width: 520px;
  animation: h-fadein 1s .2s ease both;
}

.h-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: h-fadein 1s .35s ease both;
}

.h-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(37,99,235,.45);
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.h-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s;
}
.h-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,99,235,.55); }
.h-btn-primary:hover::after { opacity: 1; }

.h-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9); font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: transform .2s, border-color .2s, background .2s;
}
.h-btn-outline:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: #fff;
}

@keyframes h-fadein {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Carte 3D flottante */
.h-visual {
  perspective: 1200px;
  animation: h-fadein 1s .15s ease both;
}
.h-card-3d {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 28px;
  transform-style: preserve-3d;
  animation: hcard 7s ease-in-out infinite;
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 1px 0 rgba(255,255,255,.15) inset;
  position: relative;
}
.h-card-3d::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(56,189,248,.3), transparent 50%, rgba(192,132,252,.2));
  pointer-events: none;
  z-index: 0;
}
@keyframes hcard {
  0%,100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  30%     { transform: rotateY(-3deg) rotateX(2deg) translateY(-18px); }
  60%     { transform: rotateY(-8deg) rotateX(6deg) translateY(-8px); }
}

.h-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.h-card-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
  padding: 4px 10px; border-radius: 6px;
}
.h-card-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: hdot 2s ease-in-out infinite;
}

.h-card-q {
  font-size: 1.05rem; font-weight: 600; color: #fff;
  margin: 0 0 16px;
  position: relative; z-index: 1;
}

.h-card-opts { display: grid; gap: 8px; position: relative; z-index: 1; }
.h-card-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  transition: transform .15s;
}
.h-card-opt.ok {
  background: rgba(74,222,128,.12);
  border-color: rgba(74,222,128,.3);
  color: #4ade80;
}
.h-card-opt.ko {
  background: rgba(248,113,113,.08);
  border-color: rgba(248,113,113,.2);
  color: rgba(248,113,113,.8);
  text-decoration: line-through;
}
.h-card-opt-letter {
  font-weight: 700; font-size: .8rem;
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
  font-family: var(--mono);
}
.h-card-opt.ok .h-card-opt-letter { background: rgba(74,222,128,.2); }

.h-card-expl {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.2);
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  position: relative; z-index: 1;
}
.h-card-expl strong { color: #38bdf8; }

/* ECG en bas du hero */
.h-ecg-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 2;
  overflow: hidden;
}
.h-ecg {
  width: 100%; height: 100%;
  stroke: rgba(56,189,248,.5);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: ecgdraw 3s 1s ease forwards, ecgloop 4s 4s linear infinite;
}
@keyframes ecgdraw {
  to { stroke-dashoffset: 0; }
}
@keyframes ecgloop {
  from { stroke-dashoffset: 2000; }
  to   { stroke-dashoffset: -2000; }
}

/* ══════════════════════════════════════════
   STATS
   ══════════════════════════════════════════ */
.h-stats {
  background: var(--surface);
  padding: 72px max(24px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
}
.h-stats-in {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.h-stat {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.h-stat::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .06;
  transition: opacity .25s, transform .25s;
}
.h-stat:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.h-stat:hover::before { opacity: .12; transform: translateX(-50%) scale(1.3); }

.h-stat-num {
  display: block;
  font: 700 clamp(2.2rem,4vw,3rem) var(--display);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.h-stat-label {
  font-size: .92rem;
  color: var(--muted);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */
.h-features {
  padding: 80px max(24px, env(safe-area-inset-left));
  background: var(--bg);
}
.h-features-in { max-width: 1120px; margin: 0 auto; }
.h-section-head {
  text-align: center;
  margin-bottom: 52px;
}
.h-section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px; border-radius: 6px;
  margin-bottom: 14px;
}
.h-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  margin: 0 0 10px;
}
.h-section-head p { color: var(--muted); font-size: 1.05rem; }

.h-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.h-feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform .15s, box-shadow .15s;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
}
.h-feat:hover { box-shadow: 0 20px 60px rgba(0,0,0,.12); }

.h-feat-ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.h-feat-ic svg { width: 28px; height: 28px; stroke-width: 1.8; fill: none; stroke: currentColor; }

.h-feat:nth-child(1) .h-feat-ic { background: rgba(37,99,235,.1); color: #2563eb; }
.h-feat:nth-child(2) .h-feat-ic { background: rgba(16,185,129,.1); color: #10b981; }
.h-feat:nth-child(3) .h-feat-ic { background: rgba(139,92,246,.1); color: #8b5cf6; }

.h-feat h3 { font-size: 1.2rem; margin: 0 0 10px; color: var(--ink); }
.h-feat p  { font-size: .95rem; color: var(--muted); margin: 0 0 20px; line-height: 1.6; }
.h-feat-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
  transition: gap .15s;
}
.h-feat-link:hover { gap: 10px; }

/* ══════════════════════════════════════════
   COMMENT ÇA MARCHE
   ══════════════════════════════════════════ */
.h-how {
  padding: 80px max(24px, env(safe-area-inset-left));
  background: linear-gradient(140deg, #030f1e 0%, #081432 100%);
  position: relative; overflow: hidden;
}
.h-how::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}
.h-how-in { max-width: 1120px; margin: 0 auto; }
.h-how .h-section-head h2 { color: #fff; }
.h-how .h-section-head p  { color: rgba(255,255,255,.55); }
.h-how .h-section-tag { background: rgba(56,189,248,.15); color: #38bdf8; }

.h-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.h-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(100% / 6); right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.4), transparent);
}

.h-step {
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.h-step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font: 700 1.3rem var(--display);
  position: relative;
  z-index: 1;
}
.h-step:nth-child(1) .h-step-num { background: rgba(37,99,235,.2); color: #60a5fa; border: 1px solid rgba(37,99,235,.3); }
.h-step:nth-child(2) .h-step-num { background: rgba(139,92,246,.2); color: #c084fc; border: 1px solid rgba(139,92,246,.3); }
.h-step:nth-child(3) .h-step-num { background: rgba(16,185,129,.2); color: #34d399; border: 1px solid rgba(16,185,129,.3); }

.h-step h3 { font-size: 1.1rem; color: #fff; margin: 0 0 10px; }
.h-step p  { font-size: .92rem; color: rgba(255,255,255,.55); line-height: 1.6; margin: 0; }

/* ══════════════════════════════════════════
   GALERIE
   ══════════════════════════════════════════ */
.h-gallery {
  padding: 80px max(24px, env(safe-area-inset-left));
  background: var(--surface);
}
.h-gallery-in { max-width: 1120px; margin: 0 auto; }
.h-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 16px;
}
.h-gitem {
  border-radius: 16px; overflow: hidden;
  position: relative;
}
.h-gitem:first-child { grid-row: span 2; }
.h-gitem img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.h-gitem:hover img { transform: scale(1.05); }
.h-gitem figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff; font-size: .85rem; font-weight: 600;
}

/* ══════════════════════════════════════════
   TÉLÉPHONE / APP
   ══════════════════════════════════════════ */
.h-app {
  padding: 80px max(24px, env(safe-area-inset-left));
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2040 100%);
  position: relative; overflow: hidden;
}
.h-app::before {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.1) 0%, transparent 70%);
}
.h-app-in {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.h-app-text { position: relative; z-index: 1; }
.h-app-text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: #fff; margin: 0 0 16px; }
.h-app-text p  { color: rgba(255,255,255,.65); font-size: 1.05rem; margin: 0 0 32px; line-height: 1.7; }

.h-store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.h-store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; text-decoration: none; font-weight: 600;
  transition: transform .2s, background .2s;
}
.h-store-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); color: #fff; }
.h-store-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* Maquette téléphone 3D */
.h-phone-wrap { perspective: 1000px; display: flex; justify-content: center; position: relative; z-index: 1; }
.h-phone {
  width: 240px;
  background: #0a0f1e;
  border-radius: 36px;
  border: 6px solid rgba(255,255,255,.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.1);
  padding: 16px 14px 20px;
  animation: phone3d 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phone3d {
  0%,100% { transform: rotateY(8deg) rotateX(-3deg) translateY(0); }
  40%     { transform: rotateY(4deg) rotateX(-1deg) translateY(-16px); }
  70%     { transform: rotateY(12deg) rotateX(-5deg) translateY(-6px); }
}
.h-phone-notch {
  width: 80px; height: 22px;
  background: #0a0f1e;
  border-radius: 0 0 14px 14px;
  margin: -16px auto 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
}
.h-phone-bar {
  text-align: center; padding: 6px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 14px;
}
.h-phone-bar .wordmark { height: 12px; color: #fff; margin: 0 auto; }
.h-phone-chip {
  display: inline-block;
  font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #38bdf8; background: rgba(56,189,248,.12);
  padding: 3px 8px; border-radius: 4px;
  margin-bottom: 10px;
}
.h-phone-q { font-size: .78rem; color: #fff; font-weight: 600; margin: 0 0 12px; line-height: 1.4; }
.h-phone-opts { display: grid; gap: 6px; }
.h-phone-opt {
  font-size: .7rem; padding: 7px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
.h-phone-opt.ok { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.3); color: #4ade80; }
.h-phone-opt.ko { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.2); color: rgba(248,113,113,.7); text-decoration: line-through; }
.h-phone-score {
  display: block; text-align: center;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .7rem; font-weight: 700; color: #4ade80;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════
   CTA REJOINDRE
   ══════════════════════════════════════════ */
.h-join {
  padding: 80px max(24px, env(safe-area-inset-left));
  background: var(--bg);
}
.h-join-in {
  max-width: 1120px; margin: 0 auto;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.h-join-in::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.h-join-in h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff; margin: 0 0 14px; position: relative; z-index: 1;
}
.h-join-in p {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  margin: 0 0 36px; position: relative; z-index: 1;
}
.h-join-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   ANIMATIONS SCROLL REVEAL
   ══════════════════════════════════════════ */
.h-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.h-reveal.visible {
  opacity: 1;
  transform: none;
}
.h-reveal[data-delay="1"] { transition-delay: .1s; }
.h-reveal[data-delay="2"] { transition-delay: .2s; }
.h-reveal[data-delay="3"] { transition-delay: .3s; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .h-hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; }
  .h-visual { display: none; }
  .h-stats-in { grid-template-columns: repeat(2, 1fr); }
  .h-feat-grid { grid-template-columns: 1fr; }
  .h-steps { grid-template-columns: 1fr; gap: 32px; }
  .h-steps::before { display: none; }
  .h-gallery-grid { grid-template-columns: 1fr 1fr; }
  .h-gitem:first-child { grid-column: span 2; grid-row: span 1; }
  .h-app-in { grid-template-columns: 1fr; }
  .h-phone-wrap { display: none; }
  .h-join-in { padding: 40px 24px; }
}
@media (max-width: 540px) {
  .h-stats-in { grid-template-columns: repeat(2, 1fr); }
  .h-gallery-grid { grid-template-columns: 1fr; }
  .h-gitem:first-child { grid-column: auto; }
}
