/* ════════════════════════════════════════════════
   HERO — Section · Photo · Animations
   ════════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  padding: 9rem 5vw 6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--accent-rgb), 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(var(--accent2-rgb), 0.05) 0%, transparent 60%);
  animation: meshMove 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshMove {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.06) rotate(2deg); }
}

.hero-glow {
  position: absolute;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .11) 0%, transparent 70%);
  top: -12%; right: -8%;
  pointer-events: none;
  animation: pulse 7s ease-in-out infinite alternate;
}
.hero-glow2 {
  position: absolute;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent2-rgb), .08) 0%, transparent 70%);
  bottom: 4%; left: -6%;
  pointer-events: none;
  animation: pulse 9s ease-in-out infinite alternate-reverse;
}
@keyframes pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.18); }
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Hero left */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(var(--accent-rgb), .28);
  padding: .35rem .95rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  animation: fadeUp 0.8s 0.1s ease both;
}
.line2 { color: var(--accent); display: block; }

.hero-sub {
  max-width: 520px;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.25rem;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-location,
.hero-lang {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--muted);
}

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.2rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.1rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  width: 300px; height: 300px;
  flex-shrink: 0;
  animation: fadeUp 0.9s 0.15s ease both, heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero-photo-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent));
  animation: spinRing 6s linear infinite;
  padding: 3px;
}
.hero-photo-ring::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--bg);
}
@keyframes spinRing { to { transform: rotate(360deg); } }

.hero-photo {
  width: 300px; height: 300px;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  position: relative; z-index: 1;
  box-shadow: 0 0 60px var(--photo-glow);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 40px var(--photo-glow), 0 0 80px rgba(var(--accent-rgb), 0.15); }
  50%       { box-shadow: 0 0 80px var(--photo-glow), 0 0 120px rgba(var(--accent-rgb), 0.35); }
}

@media (max-width: 900px) {
  #hero { padding: 7rem 5vw 4rem; overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; max-width: 100%; text-align: center; }
  .hero-photo-wrap { 
    order: -1; 
    width: 200px; 
    height: 200px; 
    margin: 0 auto;
    animation: fadeUp 0.9s 0.15s ease both, heroFloat 4s ease-in-out infinite;
  }
  .hero-photo { width: 200px; height: 200px; }
  .hero-glow, .hero-glow2 { display: none; }
  .hero-sub { margin: 1.5rem auto 0; }
  .hero-meta, .hero-ctas, .hero-stats { justify-content: center; }
}
