/* ============================================================
   LEONARDO GRISANTY — Professional Website
   CSS v1.0
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #ff6a00;
  --accent-dark: #e05e00;
  --dark: #0f1923;
  --dark-2: #1a2634;
  --dark-3: #243142;
  --gray-100: #f3f6fc;
  --gray-200: #e8edf5;
  --gray-300: #c5d0de;
  --gray-400: #8b99af;
  --gray-500: #5a6a82;
  --gray-600: #3d4b5e;
  --white: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1140px;
  --header-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(26, 115, 232, 0.1);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-300);
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-description.light { color: var(--gray-300); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(15, 25, 35, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.logo-accent {
  color: var(--accent);
  margin-left: 4px;
}

/* Nav */
.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--gray-300);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-400);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

.btn-header {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  padding: 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 115, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 115, 232, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.15), transparent);
  height: 1px;
  width: 300px;
  border-radius: 50%;
}

.line-1 { top: 20%; left: -10%; animation: floatLine 8s ease-in-out infinite; }
.line-2 { top: 60%; right: -5%; animation: floatLine 10s ease-in-out infinite 2s; width: 200px; }
.line-3 { top: 80%; left: 20%; animation: floatLine 6s ease-in-out infinite 4s; width: 150px; }

@keyframes floatLine {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(30px); }
}

.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 3s ease-in-out infinite;
}

.dot-1 { top: 15%; left: 25%; }
.dot-2 { top: 35%; right: 30%; animation-delay: 0.5s; }
.dot-3 { top: 70%; left: 45%; animation-delay: 1.5s; }
.dot-4 { top: 25%; right: 15%; animation-delay: 2s; }

@keyframes pulseDot {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-logo { margin-bottom: 16px; }

.hero-tag {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.text-accent { color: var(--accent); }

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero visual / Avatar */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatAvatar 6s ease-in-out infinite;
}

.avatar-initials {
  font-size: 5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26, 115, 232, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

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

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ============================================================
   SOBRE MÍ
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.about-quote {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin-top: 28px;
  background: rgba(26, 115, 232, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   FORTALEZAS / STRENGTHS
   ============================================================ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.strength-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 115, 232, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

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

.strength-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 115, 232, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.strength-icon svg {
  width: 24px;
  height: 24px;
}

.strength-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.strength-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================================
   TRAYECTORIA / TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(26, 115, 232, 0.1);
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.timeline-item:nth-child(even) .timeline-period {
  color: var(--accent);
  background: rgba(255, 106, 0, 0.1);
}

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   TECH CHIPS
   ============================================================ */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.chip {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gray-300);
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   PROYECTOS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 115, 232, 0.15);
}

.project-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.project-icon svg {
  width: 24px;
  height: 24px;
}

.project-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-link:hover {
  color: var(--accent);
  gap: 8px;
}

/* ============================================================
   OPINIÓN
   ============================================================ */
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.opinion-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.opinion-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.opinion-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 106, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.opinion-icon svg { width: 24px; height: 24px; }

.opinion-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.opinion-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
}

/* ============================================================
   GESTIÓN PÚBLICA
   ============================================================ */
.public-content {
  max-width: 800px;
  margin: 0 auto;
}

.public-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-300);
  font-size: 1rem;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item a { color: var(--white); }
.contact-item a:hover { color: var(--accent); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.contact-actions .btn-outline {
  color: var(--gray-300);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--gray-400);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.footer-bottom {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .opinion-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-2);
    padding: 80px 32px 32px;
    transition: var(--transition);
    border-left: 1px solid rgba(255,255,255,0.05);
  }

  .nav.active { right: 0; }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
  }

  .menu-toggle { display: flex; }
  .btn-header { display: none; }

  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }

  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }

  .strengths-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 48px; }
  .timeline-marker { left: 9px; }

  .avatar-placeholder {
    width: 200px;
    height: 200px;
  }
  .avatar-initials { font-size: 3rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }
}

/* ============================================================
   HERO FOTO
   ============================================================ */
.hero-foto-wrapper {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatAvatar 6s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(26, 115, 232, 0.12), 0 0 50px rgba(26, 115, 232, 0.05);
  background: var(--hero-bg);
}

.hero-foto {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  position: relative;
  z-index: 2;
  background: transparent;
  filter: contrast(1.02) saturate(0.98);
}

.hero-foto-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26, 115, 232, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ============================================================
   ABOUT FOTO
   ============================================================ */
.about-text-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.about-image-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-foto {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  object-fit: contain;
  transition: var(--transition);
}

.about-foto:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.about-text {
  display: flex;
  flex-direction: column;
}

@media (max-width: 920px) {
  .about-text-wrapper {
    grid-template-columns: 1fr;
  }
  .about-image-col {
    order: -1;
  }
  .about-foto {
    max-width: 280px;
  }
  .hero-foto-wrapper {
    width: 220px;
    height: 220px;
  }
}

/* ============================================================
   ABOUT - Texto claro sobre fondo oscuro
   ============================================================ */
.about-text.light-text p {
  color: var(--gray-300);
}

.about-text.light-text .about-quote {
  color: var(--accent);
  border-left-color: var(--primary);
  background: rgba(255, 255, 255, 0.03);
}


/* ============================================================
   HEADER SOCIAL ICONS
   ============================================================ */
.header-social {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--gray-500);
  transition: color 0.2s ease, background 0.2s ease;
}

.social-icon:hover {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.06);
}

@media (max-width: 768px) {
  .header-social {
    display: none;
  }
}
