/*
Theme Name: Rafael Zen
Theme URI: https://rafaelzen.com.br
Author: Rafael Zen
Author URI: https://rafaelzen.com.br
Description: Tema profissional dark mode para Rafael Zen - Growth Hacker, Desenvolvedor e Especialista em IA
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rafaelzen
*/
/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0f;
  color: #e4e4e7;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #f4f4f5;
}
a {
  color: #f97316;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #eab308;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.navbar-menu a {
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #f97316, #eab308);
  transition: width 0.3s ease;
}
.navbar-menu a:hover, .navbar-menu a.active {
  color: #e4e4e7;
}
.navbar-menu a:hover::after, .navbar-menu a.active::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e4e4e7;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
/* Hero com banner de fundo (via Customizer) */
.hero--has-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero--has-bg::after {
  background-image: none !important;
}
.hero--has-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.75) 0%, rgba(10, 10, 15, 0.60) 40%, rgba(10, 10, 15, 0.80) 100%);
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 70% 50%, rgba(234, 179, 8, 0.06) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: #fdba74;
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #f97316 0%, #eab308 50%, #f97316 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #9ca3af;
  margin-bottom: 16px;
  font-weight: 400;
}
.hero-tagline {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-tagline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
  font-size: 1rem;
  font-weight: 500;
}
.hero-tagline .separator {
  color: #f97316;
  font-size: 0.6rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #e4e4e7;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.btn-outline:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
  color: #e4e4e7;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #4b5563;
  border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #f97316;
  border-radius: 4px;
  animation: scrollMouse 2s ease-in-out infinite;
}
/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f97316);
}
.section-label::after {
  background: linear-gradient(90deg, #f97316, transparent);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-desc {
  color: #9ca3af;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
.about-avatar {
  position: relative;
}
.about-avatar-wrapper {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, #f97316, #eab308);
  padding: 3px;
  margin: 0 auto;
}
.about-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: #12121a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-avatar-inner svg {
  width: 60%;
  height: 60%;
  color: #4b5563;
}
.about-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.stat-card {
  text-align: center;
  padding: 20px 12px;
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid #1e1e2e;
  border-radius: 16px;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 4px;
}
.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.about-text p {
  color: #9ca3af;
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-text p strong {
  color: #e4e4e7;
}
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  color: #fdba74;
}
/* ========================================
   CONNECTIONS SECTION (IA Conectada)
   ======================================== */
.connections {
  background: linear-gradient(180deg, #0d0d14 0%, #0a0a0f 100%);
  overflow: hidden;
}
.connections-hub {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1;
  margin: 0 auto;
}
/* Linhas SVG de conexão */
.connections-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.conn-line {
  stroke: rgba(249, 115, 22, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: connLineDash 20s linear infinite;
}
.conn-pulse {
  fill: #f97316;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6));
}
@keyframes connLineDash {
  to {
    stroke-dashoffset: -200;
  }
}
/* Nó central - Claude */
.conn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.conn-center-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(249, 115, 22, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: connRingPulse 3s ease-in-out infinite;
}
.conn-center-ring::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.08);
  animation: connRingPulse 3s ease-in-out infinite 0.5s;
}
.conn-center-ring::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.04);
  animation: connRingPulse 3s ease-in-out infinite 1s;
}
@keyframes connRingPulse {
  0%, 100% {
    transform: translate(-50%, -55%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -55%) scale(1.15);
    opacity: 0.5;
  }
}
.conn-center-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.2), rgba(249, 115, 22, 0.1));
  border: 2px solid rgba(217, 119, 87, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(217, 119, 87, 0.15), 0 0 80px rgba(249, 115, 22, 0.05);
}
.conn-center-icon svg {
  width: 40px;
  height: 40px;
}
.conn-center-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #D97757;
  letter-spacing: 0.05em;
}
/* Nós externos */
.conn-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: connNodeFloat 4s ease-in-out infinite;
}
.conn-node-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.conn-node-icon svg {
  width: 24px;
  height: 24px;
}
.conn-node:hover .conn-node-icon {
  transform: scale(1.15);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.conn-node-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  white-space: nowrap;
}
/* Posições dos 8 nós (distribuídos em círculo) */
.conn-node--1 {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}
.conn-node--2 {
  top: 12%;
  right: 8%;
  animation-delay: 0.3s;
}
.conn-node--3 {
  top: 44%;
  right: 2%;
  transform: translateY(-50%);
  animation-delay: 0.6s;
}
.conn-node--4 {
  bottom: 12%;
  right: 8%;
  animation-delay: 0.9s;
}
.conn-node--5 {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.2s;
}
.conn-node--6 {
  bottom: 12%;
  left: 8%;
  animation-delay: 1.5s;
}
.conn-node--7 {
  top: 44%;
  left: 2%;
  transform: translateY(-50%);
  animation-delay: 1.8s;
}
.conn-node--8 {
  top: 12%;
  left: 8%;
  animation-delay: 2.1s;
}
@keyframes connNodeFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -6px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .connections-hub {
    max-width: 360px;
  }
  .conn-center-icon {
    width: 64px;
    height: 64px;
  }
  .conn-center-icon svg {
    width: 28px;
    height: 28px;
  }
  .conn-center-ring {
    width: 90px;
    height: 90px;
  }
  .conn-node-icon {
    width: 42px;
    height: 42px;
  }
  .conn-node-icon svg {
    width: 18px;
    height: 18px;
  }
  .conn-node-label {
    font-size: 0.65rem;
  }
  .conn-line {
    stroke-width: 1;
  }
}
@media (max-width: 480px) {
  .connections-hub {
    max-width: 300px;
  }
  .cv-sidebar-photo {
    display: none;
  }
  .conn-center-icon {
    width: 52px;
    height: 52px;
  }
  .conn-center-icon svg {
    width: 24px;
    height: 24px;
  }
  .conn-center-ring {
    width: 72px;
    height: 72px;
  }
  .conn-node-icon {
    width: 36px;
    height: 36px;
  }
  .conn-node-icon svg {
    width: 16px;
    height: 16px;
  }
  .conn-node-label {
    display: none;
  }
}
/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
  background: #0a0a0f;
}
.skills-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-category {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid #1e1e2e;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cat-color-1), var(--cat-color-2));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.skill-category:hover {
  border-color: rgba(249, 115, 22, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.skill-category:hover::before {
  opacity: 1;
}
.skill-category:nth-child(1) {
  --cat-color-1: #f97316;
  --cat-color-2: #fb923c;
}
.skill-category:nth-child(2) {
  --cat-color-1: #eab308;
  --cat-color-2: #ca8a04;
}
.skill-category:nth-child(3) {
  --cat-color-1: #ef4444;
  --cat-color-2: #f87171;
}
.skill-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.skill-category:nth-child(1) .skill-category-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}
.skill-category:nth-child(2) .skill-category-icon {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.skill-category:nth-child(3) .skill-category-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.skill-category-icon svg {
  width: 24px;
  height: 24px;
}
.skill-category h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.skill-category > p {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.skill-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(10, 10, 15, 0.5);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.skill-item:hover {
  background: rgba(249, 115, 22, 0.06);
  transform: translateX(4px);
}
.skill-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-item-icon svg {
  width: 24px;
  height: 24px;
}
.skill-item-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.skill-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #d4d4d8;
}
/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 50%, #0a0a0f 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid #1e1e2e;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(234, 179, 8, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  border-color: rgba(249, 115, 22, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.service-card:nth-child(1) .service-icon {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
}
.service-card:nth-child(2) .service-icon {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
}
.service-card:nth-child(3) .service-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.service-card p {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.service-card .btn {
  width: 100%;
  justify-content: center;
}
/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: #0a0a0f;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.contact-info > p {
  color: #9ca3af;
  margin-bottom: 32px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  transition: all 0.3s ease;
  color: #e4e4e7;
}
.contact-channel:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.05);
  transform: translateX(4px);
  color: #e4e4e7;
}
.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel:nth-child(1) .contact-channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.contact-channel:nth-child(2) .contact-channel-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}
.contact-channel:nth-child(3) .contact-channel-icon {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}
.contact-channel-text {
  display: flex;
  flex-direction: column;
}
.contact-channel-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-channel-value {
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-form {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid #1e1e2e;
  border-radius: 20px;
  padding: 36px;
}
.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  color: #e4e4e7;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: #4b5563;
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid #1e1e2e;
  background: #0a0a0f;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  color: #6b7280;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: #6b7280;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #f97316;
}
/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  color: #fff;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .skills-categories, .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-avatar {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.3s ease;
    border-left: 1px solid #1e1e2e;
  }
  .navbar-menu.open {
    right: 0;
  }
  .navbar-menu a {
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-tagline {
    gap: 8px;
  }
  .hero-tagline span {
    font-size: 0.9rem;
  }
  .hero-scroll {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .skills-categories, .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:last-child {
    max-width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .skill-category {
    padding: 24px;
  }
  .service-card {
    padding: 28px 20px;
  }
  .contact-form {
    padding: 24px;
  }
  .about-stats {
    gap: 8px;
  }
  .stat-number {
    font-size: 1.4rem;
  }
}
/* ========================================
   CURRÍCULO PAGE
   ======================================== */
/* Hero Compacto */
.cv-hero {
  position: relative;
  padding: 120px 0 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
}
.cv-hero-glow {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 40% 60%, rgba(249, 115, 22, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 70% 40%, rgba(234, 179, 8, 0.07) 0%, transparent 50%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.cv-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cv-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.cv-title {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #9ca3af;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.cv-contact-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 28px;
}
.cv-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #d4d4d8;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.cv-contact-item svg {
  color: #f97316;
  flex-shrink: 0;
}
.cv-contact-item:hover {
  color: #f97316;
}
.cv-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Body & Grid */
.cv-body {
  padding: 40px 0 60px;
  background: #0a0a0f;
}
.cv-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
/* Cards */
.cv-card {
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}
.cv-card:hover {
  border-color: rgba(249, 115, 22, 0.15);
}
.cv-card:last-child {
  margin-bottom: 0;
}
/* Section Titles */
.cv-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #f97316, #eab308, transparent) 1;
}
.cv-section-title svg {
  color: #f97316;
  flex-shrink: 0;
}
/* Profile Text */
.cv-profile-text {
  color: #9ca3af;
  font-size: 0.88rem;
  line-height: 1.757;
}
.cv-profile-text strong {
  color: #e4e4e7;
}
/* Education */
.cv-edu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cv-edu-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cv-edu-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.cv-edu-item strong {
  display: block;
  font-size: 0.85rem;
  color: #e4e4e7;
  font-weight: 600;
}
.cv-edu-item span {
  font-size: 0.78rem;
  color: #6b7280;
}
/* Certifications */
.cv-cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cv-cert-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 100px;
  color: #fdba74;
  white-space: nowrap;
}
/* Skill Bars */
.cv-skills-grid, .cv-lang-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cv-skill-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
}
.cv-skill-row span:first-child {
  font-size: 0.82rem;
  color: #d4d4d8;
  font-weight: 500;
}
.cv-skill-bar {
  height: 6px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 100px;
  overflow: hidden;
}
.cv-skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #eab308);
  border-radius: 100px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.cv-skill-label {
  font-size: 0.72rem;
  color: #6b7280;
  min-width: 70px;
  text-align: right;
}
/* Method Tags */
.cv-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cv-method-tag {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: 100px;
  color: #fcd34d;
}
/* Timeline */
.cv-timeline {
  position: relative;
  padding-left: 24px;
}
.cv-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, #f97316 0%, rgba(249, 115, 22, 0.1) 100%);
  border-radius: 2px;
}
.cv-timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.cv-timeline-item:last-child {
  margin-bottom: 0;
}
.cv-timeline-dot {
  position: absolute;
  left: -21px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #f97316;
  border-radius: 50%;
  border: 2px solid #0a0a0f;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  z-index: 1;
}
.cv-timeline-header {
  margin-bottom: 6px;
}
.cv-timeline-period {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  padding: 2px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 4px;
}
.cv-timeline-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 2px;
  line-height: 1.3;
}
.cv-timeline-company {
  font-size: 0.8rem;
  color: #f97316;
  font-weight: 500;
}
.cv-timeline-desc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cv-timeline-desc li {
  font-size: 0.78rem;
  color: #9ca3af;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.cv-timeline-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: rgba(249, 115, 22, 0.4);
  border-radius: 50%;
}
/* Sidebar Photo (fills remaining space) */
.cv-sidebar {
  display: flex;
  flex-direction: column;
}

/* Hidden cards */
.cv-card-highlights,
.cv-sidebar-photo {
  display: none;
}
.cv-sidebar-photo {
  padding: 0;
  overflow: hidden;
  height: 700px;
  position: relative;
}
.cv-sidebar-photo img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  will-change: transform;
}
/* Icon Grid (Skills with logos) */
.cv-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cv-icon-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.cv-icon-card:hover {
  border-color: var(--icon-color, rgba(249, 115, 22, 0.3));
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}
.cv-icon-card svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.cv-icon-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e4e4e7;
}
/* Highlights */
.cv-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cv-highlight-card {
  text-align: center;
  padding: 16px 8px;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.cv-highlight-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-2px);
}
.cv-highlight-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}
.cv-highlight-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 4px;
  display: block;
}
/* ========================================
   CURRÍCULO - RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
  .cv-icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cv-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cv-hero {
    padding: 100px 0 30px;
  }
  .cv-name {
    font-size: 1.8rem;
  }
  .cv-contact-bar {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .cv-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cv-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cv-skill-row {
    grid-template-columns: 80px 1fr auto;
  }
}
/* ========================================
   CURRÍCULO - PRINT STYLES
   ======================================== */
@page {
  size: 210mm 400mm;
  margin: 0 6mm;
}
@media print {
  /* Reset for print */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    page-break-inside: avoid;
  }
  html, body {
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 9pt !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 210mm !important;
  }
  /* Hide non-print elements */
  .navbar, .site-footer, .whatsapp-float, .cv-hero-actions, .cv-hero-glow, .no-print {
    display: none !important;
  }
  /* Hero compact for print - white background */
  .cv-hero {
    padding: 8px 0 6px !important;
    background: #fff !important;
    margin: 0 !important;
    border-bottom: 3px solid #f97316 !important;
    min-height: 0 !important;
    display: block !important;
  }
  .cv-name {
    font-size: 20pt !important;
    color: #1B2A4A !important;
  }
  .cv-name .gradient-text {
    -webkit-text-fill-color: #f97316 !important;
  }
  .cv-title {
    font-size: 9pt !important;
    color: #555 !important;
    margin-bottom: 8px !important;
  }
  .cv-contact-bar {
    margin-bottom: 0 !important;
    gap: 4px 16px !important;
  }
  .cv-contact-item {
    font-size: 7.5pt !important;
    color: #333 !important;
  }
  .cv-contact-item svg {
    width: 10px !important;
    height: 10px !important;
    color: #f97316 !important;
  }
  /* Body - white background */
  .cv-body {
    padding: 8px 0 0 !important;
    background: #fff !important;
  }
  .cv-page {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    page-break-after: always;
    page-break-before: avoid;
  }
  .container {
    max-width: 100% !important;
    padding: 0 12px !important;
  }
  /* Grid layout for print */
  .cv-grid {
    grid-template-columns: 240px 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  /* Cards - dark background on white page */
  .cv-card {
    background: #1B2A4A !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    page-break-inside: avoid;
  }
  .cv-sidebar, .cv-main {
    background: transparent !important;
  }

  /* Sidebar photo: fill remaining space, no fixed height */
  .cv-sidebar-photo {
    height: 473px;
  }

  /* Section titles */
  .cv-section-title {
    font-size: 9pt !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
    border-image: linear-gradient(90deg, #f97316, #eab308, transparent) 1 !important;
  }
  .cv-section-title svg {
    width: 12px !important;
    height: 12px !important;
    color: #f97316 !important;
  }
  /* Profile */
  .cv-profile-text {
    font-size: 8pt !important;
    color: #cdd5e0 !important;
    line-height: 1.5 !important;
  }
  .cv-profile-text strong {
    color: #fff !important;
  }
  /* Education */
  .cv-edu-item {
    gap: 8px !important;
  }
  .cv-edu-year {
    font-size: 6.5pt !important;
    padding: 1px 6px !important;
    background: #f97316 !important;
    color: #fff !important;
  }
  .cv-edu-item strong {
    font-size: 7.5pt !important;
    color: #f0f0f0 !important;
  }
  .cv-edu-item span {
    font-size: 7pt !important;
    color: #a0aec0 !important;
  }
  .cv-edu-list {
    gap: 6px !important;
  }
  /* Certifications */
  .cv-cert-tag {
    font-size: 6.5pt !important;
    padding: 2px 6px !important;
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: #f97316 !important;
    color: #fdba74 !important;
  }
  .cv-cert-grid {
    gap: 3px !important;
  }
  /* Skills */
  .cv-skill-row {
    gap: 6px !important;
  }
  .cv-skill-row span:first-child {
    font-size: 7.5pt !important;
    color: #e0e0e0 !important;
  }
  .cv-skill-bar {
    height: 5px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .cv-skill-fill {
    background: linear-gradient(90deg, #f97316, #eab308) !important;
  }
  .cv-skill-label {
    font-size: 6.5pt !important;
    color: #a0aec0 !important;
  }
  .cv-skills-grid, .cv-lang-list {
    gap: 5px !important;
  }
  /* Method tags */
  .cv-method-tag {
    font-size: 7pt !important;
    padding: 2px 8px !important;
    background: rgba(234, 179, 8, 0.15) !important;
    border-color: #eab308 !important;
    color: #fcd34d !important;
  }
  .cv-tags-wrap {
    gap: 3px !important;
  }
  /* Icon grid (skills with logos) */
  .cv-icon-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
  .cv-icon-card {
    padding: 5px 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
  }
  .cv-icon-card svg {
    width: 14px !important;
    height: 14px !important;
  }
  .cv-icon-card span {
    font-size: 6.5pt !important;
    color: #e0e0e0 !important;
  }
  /* Timeline */
  .cv-timeline {
    padding-left: 16px !important;
  }
  .cv-timeline::before {
    left: 4px !important;
    width: 1.5px !important;
    background: #f97316 !important;
  }
  .cv-timeline-dot {
    left: -15px !important;
    width: 8px !important;
    height: 8px !important;
    background: #f97316 !important;
    border-color: #1B2A4A !important;
    box-shadow: none !important;
  }
  .cv-timeline-item {
    margin-bottom: 10px !important;
  }
  .cv-timeline-period {
    font-size: 6.5pt !important;
    padding: 1px 6px !important;
    background: #f97316 !important;
    color: #fff !important;
  }
  .cv-timeline-header h3 {
    font-size: 8.5pt !important;
    color: #f0f0f0 !important;
  }
  .cv-timeline-company {
    font-size: 7.5pt !important;
    color: #fdba74 !important;
  }
  .cv-timeline-desc li {
    font-size: 7pt !important;
    color: #a0aec0 !important;
    padding-left: 10px !important;
    line-height: 1.4 !important;
  }
  .cv-timeline-desc li::before {
    width: 3px !important;
    height: 3px !important;
    top: 5px !important;
    background: #f97316 !important;
  }
  .cv-timeline-desc {
    gap: 1px !important;
  }
  /* Highlights */
  .cv-highlights-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
  .cv-highlight-card {
    padding: 8px 4px !important;
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    border-radius: 6px !important;
  }
  .cv-highlight-number {
    font-size: 14pt !important;
    -webkit-text-fill-color: #f97316 !important;
  }
  .cv-highlight-label {
    font-size: 6pt !important;
    color: #a0aec0 !important;
  }
  /* No page breaks - single long page */
  .cv-page-break-before {
    page-break-before: auto;
    break-before: auto;
  }
  /* Force 2 pages max */
  .cv-page {
    max-height: none;
  }
  /* Links */
  a {
    color: inherit !important;
    text-decoration: none !important;
  }
  /* Remove shadows and transforms */
  .cv-card:hover, .cv-ai-card:hover, .cv-highlight-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}