/* ============================================
   AMAR IBISHI — PORTFOLIO STYLES
   Blue Theme · Dark/Light · Animated · Responsive
   ============================================ */

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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --accent: #06b6d4;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #ffffff;
  --text-2: #d4d4d4;
  --text-3: #a3a3a3;
  --muted: #737373;
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
  --bg: #f8fafc;
  --bg-2: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.03);
  --text: #0f172a;
  --text-2: #1e293b;
  --text-3: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-2: #f1f5f9;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

::selection { background: var(--primary); color: #fff; }

/* ============================================
   ANIMATED BACKGROUND BLOBS
   ============================================ */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: blobFloat 22s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

body.light-mode .blob { opacity: 0.25; }

.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.6), transparent 70%);
  top: -150px; left: -150px;
}

.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
  top: 40%; right: -120px;
  animation-delay: -7s;
}

.blob-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.5), transparent 70%);
  bottom: -150px; left: 30%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.95); }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--primary);
  transition: width 0.25s, height 0.25s, background 0.25s;
}

.cursor-ring.hover {
  width: 60px; height: 60px;
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary-light);
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 1000;
  box-shadow: 0 0 10px var(--primary);
  transition: width 0.1s;
}

/* ============================================
   PROMO BANNER (top)
   ============================================ */
.promo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
  background-size: 200% 100%;
  color: white;
  padding: 0.65rem 3rem 0.65rem 1rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: bannerGradient 4s ease infinite;
}

@keyframes bannerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.promo-banner.active { transform: translateY(0); }

.promo-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
}

.promo-banner-content i {
  font-size: 1.1rem;
  animation: giftShake 1.5s ease-in-out infinite;
}

@keyframes giftShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.promo-banner-btn {
  background: white;
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.promo-banner-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.promo-banner-close {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  transition: all var(--transition);
}

.promo-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) rotate(90deg);
}

body.banner-active .navbar { top: 40px; }
body.banner-active .container { padding-top: 9rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0.8rem 0;
  transition: all var(--transition);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

body.light-mode .navbar { background: rgba(248, 250, 252, 0.85); }

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

body.light-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ============================================
   LOGO IMAGE (e re)
   ============================================ */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 45px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
  transition: filter var(--transition);
}

.nav-logo:hover .logo-img {
  filter: drop-shadow(0 6px 18px rgba(37, 99, 235, 0.7));
}

body.light-mode .logo-img {
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
}

body.light-mode .nav-logo:hover .logo-img {
  filter: drop-shadow(0 6px 18px rgba(37, 99, 235, 0.5));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle, .menu-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.05rem;
  transition: all var(--transition);
}

body.light-mode .theme-toggle,
body.light-mode .menu-toggle { background: white; }

.theme-toggle:hover, .menu-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.4);
}

.theme-toggle i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-toggle:hover i { transform: rotate(20deg) scale(1.1); }
.theme-toggle.rotating i { transform: rotate(360deg); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  font-family: inherit;
  transition: all var(--transition);
}

body.light-mode .lang-toggle { background: white; }

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.4);
}

.lang-flag { font-size: 1rem; }
.lang-code { letter-spacing: 0.05em; }
.menu-toggle { display: none; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 2rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
  min-height: 75vh;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

body.light-mode .hero-status { color: var(--primary-dark); }

.pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  color: var(--text-3);
  font-weight: 500;
  font-size: 0.5em;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

body.light-mode .gradient-text {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-2);
}

.role-tag { display: inline-flex; align-items: center; gap: 8px; }
.role-tag i { color: var(--primary); }
.role-divider { color: var(--muted); font-weight: 300; }

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-3);
  max-width: 520px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--primary);
  padding-left: 1.2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 12px 25px -10px rgba(37, 99, 235, 0.7);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.9);
}

.btn-primary i { transition: transform var(--transition); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -12px rgba(37, 99, 235, 0.3);
}

.btn-cv {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  box-shadow: 0 12px 25px -10px rgba(5, 150, 105, 0.6);
}

.btn-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -12px rgba(5, 150, 105, 0.9);
  background: linear-gradient(135deg, #10b981, #059669);
}

.btn-cv:hover i { animation: bounceDown 0.6s ease infinite; }

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   PROFILE CARD
   ============================================ */
.hero-right { position: relative; }

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform var(--transition);
  animation: floatCard 6s ease-in-out infinite;
}

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

.profile-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent 30%);
  animation: rotate 8s linear infinite;
  opacity: 0.15;
  pointer-events: none;
}

@keyframes rotate { to { transform: rotate(360deg); } }

/* ============================================
   PROFILE AVATAR (me foto reale)
   ============================================ */
.profile-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.6);
  position: relative;
  overflow: hidden;
  border: 4px solid var(--bg-2);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  transition: transform 0.4s ease;
}

.profile-card:hover .profile-img {
  transform: scale(1.08);
}

.profile-avatar::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--primary-light);
  animation: spin 15s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.profile-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.profile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition);
  word-break: break-word;
}

.contact-item i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item:hover { color: var(--primary); }

.social-row { display: flex; justify-content: center; gap: 0.75rem; }

.social-row a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--transition);
}

.social-row a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  transform: translateY(-4px) rotate(-6deg);
  border-color: transparent;
  box-shadow: 0 15px 25px -10px rgba(37, 99, 235, 0.6);
}

/* ============================================
   SECTIONS
   ============================================ */
section { margin-bottom: 5rem; }

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
}

.section-title i {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1));
  color: var(--primary);
  border-radius: 14px;
  font-size: 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.4);
}

.section-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-2);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

body.light-mode .card { background: white; }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.card:hover::before { transform: scaleX(1); }

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card .subhead {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card .subhead i { width: 16px; }
.card .subhead.date { color: var(--muted); }

.card p {
  color: var(--text-3);
  font-size: 0.98rem;
  margin-top: 1rem;
  line-height: 1.75;
}

.summary-card { border-left: 5px solid var(--primary); }
.summary-card p { font-size: 1.05rem; margin-top: 0; }

/* ============================================
   TWO COLUMN
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.two-col section { margin-bottom: 0; }

.timeline-card { position: relative; padding-left: 2.5rem; }

.timeline-dot {
  position: absolute;
  left: 1rem; top: 2.2rem;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 0 20px var(--primary);
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 200px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.4), transparent);
}

/* ============================================
   PROJECT LINKS
   ============================================ */
.project-links-list { display: flex; flex-direction: column; gap: 0.8rem; }

.project-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  border: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}

body.light-mode .project-link-item { background: white; }

.project-link-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
  opacity: 0;
  transition: opacity var(--transition);
}

.project-link-item:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -12px rgba(37, 99, 235, 0.5);
}

.project-link-item:hover::before { opacity: 1; }

.proj-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 12px;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6);
  position: relative;
}

.project-link-item:hover .proj-icon { transform: rotate(-10deg) scale(1.08); }

.proj-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  position: relative;
}

.proj-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proj-hint { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.proj-arrow {
  color: var(--muted);
  font-size: 0.9rem;
  transition: all var(--transition);
  position: relative;
}

.project-link-item:hover .proj-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ============================================
   CERT CARD
   ============================================ */
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
}

.cert-badge {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px -12px rgba(245, 158, 11, 0.6);
  position: relative;
  animation: trophy 3s ease-in-out infinite;
}

@keyframes trophy {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.05); }
}

/* ============================================
   SKILLS
   ============================================ */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

body.light-mode .skills-wrapper { background: white; }

.skill-category h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--border);
}

.skill-category h4 i { color: var(--primary); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.skill-tag {
  background: var(--bg-card);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  border: 1px solid var(--border);
  cursor: default;
}

body.light-mode .skill-tag { background: #f1f5f9; }

.skill-tag:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.6);
}

.lang-tag {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.3);
}

body.light-mode .lang-tag {
  color: var(--primary-dark);
  background: rgba(37, 99, 235, 0.08);
}

/* ============================================
   CONTACT GRID
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

body.light-mode .contact-card { background: white; }

.contact-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  transition: all 0.5s var(--transition);
  border-radius: 50%;
}

.contact-card:hover::before { width: 300px; height: 300px; }

.contact-card i {
  width: 55px; height: 55px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
  transition: transform var(--transition);
  box-shadow: 0 12px 25px -10px rgba(37, 99, 235, 0.6);
  position: relative;
}

.contact-card:hover i { transform: translateY(-5px) rotate(-10deg); }

.contact-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  position: relative;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  word-break: break-word;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.4);
}

.cv-card i {
  background: linear-gradient(135deg, #059669, #047857) !important;
  box-shadow: 0 12px 25px -10px rgba(5, 150, 105, 0.6) !important;
}

.cv-card:hover {
  border-color: #10b981 !important;
  box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.4) !important;
}

/* ============================================
   FOOTER SLOGAN
   ============================================ */
.footer-slogan {
  text-align: center;
  margin: 5rem 0 1rem;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

body.light-mode .footer-slogan {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.footer-slogan::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.1), transparent 30%);
  animation: rotate 12s linear infinite;
  pointer-events: none;
}

.footer-slogan .big-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  position: relative;
}

.footer-slogan .cta {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text-2);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.footer-slogan .cta i { color: var(--primary); }

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  padding-bottom: 2rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.7);
  z-index: 800;
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-5px) scale(1.1); }

/* ============================================
   FLOATING CV
   ============================================ */
.floating-cv {
  position: fixed;
  bottom: 2rem; left: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 15px 30px -10px rgba(5, 150, 105, 0.7);
  z-index: 800;
  transition: all var(--transition);
  animation: floatBtn 3s ease-in-out infinite;
}

.floating-cv:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.9);
  animation: none;
}

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

/* ============================================
   🎯 PROMO MODAL
   ============================================ */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.promo-overlay.active { opacity: 1; visibility: visible; }

.promo-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 9999;
  width: 90%;
  max-width: 480px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.promo-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.promo-modal-inner {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.6),
              0 0 60px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  animation: promoPulse 3s ease-in-out infinite;
}

body.light-mode .promo-modal-inner {
  background: white;
  box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.4),
              0 0 60px rgba(37, 99, 235, 0.2);
}

@keyframes promoPulse {
  0%, 100% {
    box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.6),
                0 0 60px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.9),
                0 0 80px rgba(37, 99, 235, 0.5);
  }
}

.promo-modal-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent 30%);
  animation: rotate 6s linear infinite;
  opacity: 0.1;
  pointer-events: none;
}

.promo-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
}

body.light-mode .promo-close { background: rgba(0, 0, 0, 0.05); }

.promo-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.promo-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.7);
  animation: promoIconBounce 2s ease-in-out infinite;
  position: relative;
}

@keyframes promoIconBounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(10deg); }
}

.promo-modal h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
  position: relative;
}

.promo-modal p {
  color: var(--text-3);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
  position: relative;
}

.promo-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.promo-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* ============================================
   💬 CHAT BUBBLE
   ============================================ */
.chat-bubble {
  position: fixed;
  bottom: 6rem; right: 2rem;
  z-index: 850;
}

.chat-bubble-btn {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: grid; place-items: center;
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.8);
  transition: all var(--transition);
  position: relative;
  animation: chatBounce 3s ease-in-out infinite;
}

.chat-bubble-btn:hover {
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.9);
}

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

.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
  animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.chat-window {
  position: absolute;
  bottom: 75px; right: 0;
  width: 320px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.light-mode .chat-window {
  background: white;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.15);
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.chat-status {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

.chat-close {
  width: 28px; height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  display: grid; place-items: center;
  transition: all var(--transition);
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.chat-body {
  padding: 1.2rem;
  max-height: 200px;
  overflow-y: auto;
}

.chat-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.chat-text {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px 12px 12px 0;
  padding: 0.75rem 1rem;
  flex: 1;
}

body.light-mode .chat-text { background: #f1f5f9; }

.chat-text p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.chat-time { font-size: 0.7rem; color: var(--muted); }

.chat-actions {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border);
}

.chat-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.chat-action-btn.whatsapp { background: #25d366; }
.chat-action-btn.whatsapp:hover { background: #128c7e; transform: translateY(-2px); }

.chat-action-btn.email { background: var(--primary); }
.chat-action-btn.email:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================
   📢 PROMO TOAST
   ============================================ */
.promo-toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(150px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.4);
  z-index: 850;
  max-width: 420px;
  width: calc(100% - 2rem);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.light-mode .promo-toast {
  background: white;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
}

.promo-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: boltFlash 2s ease-in-out infinite;
}

@keyframes boltFlash {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.toast-content { flex: 1; min-width: 0; }

.toast-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.toast-action {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
}

.toast-action:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.6);
}

/* ============================================
   ✨ FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 8rem; right: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.8);
  z-index: 840;
  opacity: 0;
  visibility: hidden;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  animation: ctaPulse 2s ease-in-out infinite;
}

.floating-cta:hover {
  transform: translateX(0) scale(1.08);
  animation: none;
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.95);
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.8),
                0 0 0 0 rgba(37, 99, 235, 0.6);
  }
  50% {
    box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.8),
                0 0 0 15px rgba(37, 99, 235, 0);
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }

  .nav-links {
    position: fixed;
    top: 75px; right: 1rem;
    background: var(--bg-2);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    gap: 1rem;
    transform: translateX(120%);
    transition: transform var(--transition);
    min-width: 220px;
    z-index: 100;
  }

  body.light-mode .nav-links { background: white; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 0.5rem 0; font-size: 1rem; }
  .menu-toggle { display: grid; place-items: center; }
}

@media (max-width: 768px) {
  .logo-img { height: 38px; }
  .profile-avatar { width: 100px; height: 100px; }

  .chat-bubble { bottom: 5rem; right: 1rem; }
  .chat-bubble-btn { width: 54px; height: 54px; font-size: 1.3rem; }
  .chat-window { width: calc(100vw - 2rem); max-width: 320px; }
  .promo-banner-content { font-size: 0.85rem; padding-right: 30px; }
  .promo-banner-btn { padding: 0.3rem 0.8rem; font-size: 0.78rem; }
  .promo-toast { flex-wrap: wrap; padding: 0.9rem 1rem; max-width: calc(100vw - 2rem); }
  .toast-action { width: 100%; text-align: center; margin-top: 4px; }
  .floating-cta { bottom: 12rem; right: 1rem; padding: 0.7rem 1.1rem; font-size: 0.78rem; }
  body.banner-active .container { padding-top: 8rem; }
}

@media (max-width: 600px) {
  .container { padding: 6rem 1rem 1rem; }
  .profile-card { padding: 2rem 1.5rem; }
  .profile-avatar { width: 90px; height: 90px; }
  .card { padding: 1.5rem; }
  .skills-wrapper { padding: 1.5rem; gap: 1.5rem; }
  .footer-slogan { padding: 2.5rem 1.5rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn { justify-content: center; width: 100%; }
  .section-title i { width: 42px; height: 42px; font-size: 1rem; }
  .back-top { width: 46px; height: 46px; bottom: 1rem; right: 1rem; }
  .floating-cv { bottom: 1rem; left: 1rem; width: 52px; height: 52px; justify-content: center; padding: 0; animation: none; }
  .floating-cv span { display: none; }
  .logo-img { height: 34px; }
}

@media (max-width: 480px) {
  .promo-modal-inner { padding: 2rem 1.5rem; }
  .promo-modal h3 { font-size: 1.3rem; }
  .promo-modal p { font-size: 0.9rem; }
  .promo-actions { flex-direction: column; }
  .promo-actions .btn { width: 100%; justify-content: center; }
  .logo-img { height: 30px; }
  .profile-avatar { width: 80px; height: 80px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2rem; }
  .hero-roles { font-size: 0.95rem; }
  .hero-desc { font-size: 1rem; }
  .section-title h2 { font-size: 1.3rem; }
  .logo-img { height: 28px; }
}