/* ==========================================================================
   GILMER ÁLVAREZ ZAPATA - SITIO WEB OFICIAL ONE-PAGE
   Diseño Ultra-Minimalista & Premium | Estilo Apple Executive
   Responsive Mobile-First | CSS Custom Properties | Dark Mode Dual
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM (MINIMALIST PALETTE)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Light Mode (Clean & Minimal Apple White/Gray/Navy) */
  --bg-primary: #fbfbfd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-inverse: #ffffff;

  /* Executive Brand Accent Colors */
  --brand-primary: #0a192f;       /* Minimal Slate Navy */
  --brand-secondary: #1e3a8a;     /* Executive Navy */
  --brand-accent: #0066cc;        /* Apple Signature Blue Focus */
  --brand-accent-light: #f0f6ff;  /* Subtle Tint */
  --brand-gradient: linear-gradient(135deg, #0a192f 0%, #1e3a8a 50%, #0066cc 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0066cc 0%, #0a192f 100%);

  /* Utility & Status Colors */
  --success: #10b981;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.07);
  --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.12);

  /* Typography System */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Touch Dimensions */
  --header-height: 72px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
}

/* Dark Theme Variables (OLED / Dark Mode Apple Minimalist) */
.dark-theme,
@media (prefers-color-scheme: dark) {
  :root:not(.light-theme) {
    --bg-primary: #000000;
    --bg-surface: #121214;
    --bg-surface-elevated: #1c1c1e;
    --bg-subtle: #161618;
    --bg-glass: rgba(18, 18, 20, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --text-inverse: #000000;

    --brand-primary: #1e3a8a;
    --brand-secondary: #3b82f6;
    --brand-accent: #2997ff;
    --brand-accent-light: rgba(41, 151, 255, 0.12);
    --brand-gradient: linear-gradient(135deg, #1c1c1e 0%, #1e3a8a 50%, #2997ff 100%);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 35px rgba(41, 151, 255, 0.2);
  }
}

.light-theme {
  --bg-primary: #fbfbfd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-inverse: #ffffff;

  --brand-primary: #0a192f;
  --brand-secondary: #1e3a8a;
  --brand-accent: #0066cc;
  --brand-accent-light: #f0f6ff;
  --brand-gradient: linear-gradient(135deg, #0a192f 0%, #1e3a8a 50%, #0066cc 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.07);
}

/* --------------------------------------------------------------------------
   2. BASE RESET & ACCESSIBILITY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-accent);
  color: #ffffff;
  padding: 12px 24px;
  z-index: 9999;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
}

.visually-hidden-faq {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

.section-padding {
  padding: 110px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Minimalist Glass Card */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION / HEADER (MOBILE OPTIMIZED)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.nav-brand-title {
  font-size: 0.71875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-glass);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 10px 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (MINIMALIST & MOBILE RESPONSIVE)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 15%, rgba(0, 102, 204, 0.04) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero-badge-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-title-main {
  font-size: clamp(1.125rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 20px;
  line-height: 1.35;
}

.hero-bio-summary {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 660px;
}

@media (max-width: 992px) {
  .hero-bio-summary {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
  }
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

@media (max-width: 600px) {
  .hero-image-frame {
    max-width: 290px;
  }
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-image-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-height: 700px) {
  .scroll-indicator {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. PERFIL PROFESIONAL (MINIMALIST & RESPONSIVE)
   -------------------------------------------------------------------------- */
.profile-section {
  background: var(--bg-subtle);
}

.profile-card {
  padding: 40px;
}

@media (max-width: 768px) {
  .profile-card {
    padding: 24px 20px;
  }
}

.profile-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media (max-width: 992px) {
  .profile-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.profile-text-column p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.profile-text-column p strong {
  color: var(--text-primary);
}

.profile-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.highlight-box {
  padding: 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.highlight-box-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.highlight-box-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. ESPECIALIDADES (GRID OPTIMIZED FOR MOBILE)
   -------------------------------------------------------------------------- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

@media (max-width: 580px) {
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.specialty-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.specialty-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialty-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.specialty-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. TRAYECTORIA PROFESIONAL / TIMELINE (FLAWLESS MOBILE LAYOUT)
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--bg-subtle);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-strong);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 16px;
    transform: none;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  width: 50%;
  padding-right: 32px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-right: 0;
  padding-left: 32px;
}

@media (max-width: 768px) {
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 44px;
    padding-right: 0;
    margin-bottom: 28px;
  }
}

.timeline-dot {
  position: absolute;
  top: 22px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-accent);
  border: 3px solid var(--bg-surface);
  box-shadow: 0 0 0 2px var(--brand-accent-light);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -8px;
}

@media (max-width: 768px) {
  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
  }
}

.timeline-card {
  padding: 24px;
}

@media (max-width: 480px) {
  .timeline-card {
    padding: 18px;
  }
}

.timeline-date {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  border-radius: var(--radius-pill);
  font-size: 0.78125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-institution {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-secondary);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. PRINCIPALES LOGROS (ACCORDION OPTIMIZED FOR MOBILE)
   -------------------------------------------------------------------------- */
.achievements-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.achievement-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.achievement-item[open] {
  border-color: var(--brand-accent);
}

.achievement-summary {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  gap: 14px;
}

@media (max-width: 600px) {
  .achievement-summary {
    padding: 16px 18px;
    font-size: 1rem;
  }
}

.achievement-summary::-webkit-details-marker {
  display: none;
}

.summary-title-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.achievement-item[open] .summary-chevron {
  transform: rotate(180deg);
  color: var(--brand-accent);
}

.achievement-body {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 6px;
  padding-top: 20px;
}

@media (max-width: 600px) {
  .achievement-body {
    padding: 0 18px 18px 18px;
    padding-top: 16px;
  }
}

.achievement-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.achievement-body p strong {
  color: var(--text-primary);
}

.achievement-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.achievement-body li {
  margin-bottom: 6px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   10. FILOSOFÍA DE LIDERAZGO (MINIMAL APPLE QUOTE)
   -------------------------------------------------------------------------- */
.philosophy-section {
  background: var(--brand-gradient);
  color: #ffffff;
  position: relative;
}

.philosophy-card {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 56px 36px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .philosophy-card {
    padding: 36px 20px;
  }
}

.philosophy-quote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  opacity: 0.75;
}

.philosophy-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 24px;
}

.philosophy-author {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.philosophy-role {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   11. CIFRAS (2x2 GRID ON MOBILE)
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--bg-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.stat-card {
  padding: 28px 16px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 0.78125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. CONTACTO & FOOTER (MOBILE OPTIMIZED FORM)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-info-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (max-width: 600px) {
  .contact-info-card {
    padding: 24px 20px;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.78125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.contact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-word;
}

.contact-form-card {
  padding: 36px;
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px 20px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  background: var(--bg-surface);
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px var(--brand-accent-light);
}

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

/* Footer */
.footer {
  background: var(--brand-primary);
  color: #ffffff;
  padding: 56px 0 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 440px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 14px;
}
