/* ==========================================================================
   COMPONENTS
   Botones, cards, navbar, footer, forms y componentes reutilizables
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   Estados, variantes y tamaños con accesibilidad AA
   ========================================================================== */

.btn {
  /* Base button styles */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px; /* Tamaño mínimo táctil WCAG */
  min-width: 44px;
  position: relative;
  overflow: hidden;
  background-size: 0% 100%;
  background-repeat: no-repeat;
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Botón primario dorado con shimmer effect */
.btn--gold {
  background: var(--gradient-gold);
  color: var(--bg);
  border-color: transparent;
  position: relative;
}

.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shimmer);
  transition: left var(--transition-slow);
  opacity: 0;
}

.btn--gold:hover::before,
.btn--gold:focus::before {
  left: 100%;
  opacity: 1;
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--gold:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Botón outline */
.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline:hover,
.btn--outline:focus {
  background: var(--gold);
  color: var(--bg);
}

/* Botón secundario */
.btn--secondary {
  background: var(--subtle);
  color: var(--fg);
  border-color: var(--subtle);
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--bg);
}

/* Tamaños de botón */
.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  min-height: 56px;
}

/* Estados de botón */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn[aria-pressed="true"] {
  background: var(--muted);
  color: var(--bg);
}

/* ==========================================================================
   BRAND & NAVIGATION
   Logo, enlaces de navegación y selector de idioma
   ========================================================================== */

.brand-link {
  background-size: 0; /* Desactiva el subrayado animado */
  color: var(--fg);
  display: flex;
  align-items: center;
  height: 100%;
  padding: var(--space-xs) 0;
  text-decoration: none; /* Sin subrayado */
}

.brand-link:hover,
.brand-link:focus {
  text-decoration: none; /* Asegura que no aparezca subrayado en hover */
}

.brand-logo {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  /* Eliminamos la transición y el hover que hacía el logo más grande */
}

.nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--muted);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.nav-link--current {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  font-weight: 600;
}

/* Menú móvil */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navbar {
    position: relative;
  }
  
  /* Menú móvil como dropdown compacto */
  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--subtle);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-dropdown);
    max-height: 0;
    overflow: hidden;
  }
  
  .navbar__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding: var(--space-md);
    margin: 0;
  }
  
  .nav-link {
    font-size: var(--text-base);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
    display: block;
    margin-bottom: 2px;
    color: var(--fg);
    text-decoration: none;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold);
  }
  
  .nav-link--current {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
    font-weight: 600;
  }
}

/* ==========================================================================
   CARDS
   Tarjetas de servicios, proyectos, GPTs y testimonios
   ========================================================================== */

.card {
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Service Cards */
.service-card {
  padding: var(--space-2xl);
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.3);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg) auto;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--border-radius);
}

.service-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--fg);
}

.service-card__description {
  color: var(--muted);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-card__features li {
  color: var(--muted);
  font-size: var(--text-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--subtle);
}

.service-card__features li:last-child {
  border-bottom: none;
}

.service-card__features li::before {
  content: '✓';
  color: var(--gold);
  margin-right: var(--space-sm);
  font-weight: 600;
}

/* Project Cards */
.project-card {
  background: var(--bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card__content {
  padding: var(--space-xl);
}

.project-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.project-card__role {
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.project-card__description {
  color: var(--muted);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tech-tag {
  font-size: var(--text-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.2);
  font-weight: 500;
}

.project-card__impact {
  font-size: var(--text-sm);
  color: var(--success);
  font-weight: 600;
  padding: var(--space-sm);
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--success);
}

/* GPT Cards */
.gpt-card {
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: calc(var(--border-radius) * 2);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.gpt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-base);
}

.gpt-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.gpt-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  background: linear-gradient(143deg, rgba(201, 162, 39, 0.2) 5%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(201, 162, 39, 0.2) 95%);
}

.gpt-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.gpt-card__icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--border-radius);
}

.gpt-card__title {
  font-size: var(--text-lg);
  margin: 0;
  color: var(--fg);
}

.gpt-card__description {
  color: var(--muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.gpt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.gpt-tag {
  font-size: var(--text-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-weight: 500;
}

.gpt-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  background-size: 0;
}

.gpt-card__link:hover {
  background-size: 100% 2px;
}

/* Modal de Política de Privacidad */
.privacy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  padding: var(--space-md);
}

.privacy-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal__content {
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: calc(var(--border-radius) * 2);
  max-width: 800px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-modal__scrollable {
  overflow-y: auto;
  padding: var(--space-3xl);
  flex: 1;
}

.privacy-modal__header {
  margin-bottom: var(--space-2xl);
  padding: var(--space-3xl) var(--space-3xl) 0 var(--space-3xl);
  border-bottom: 1px solid var(--subtle);
  flex-shrink: 0;
}

.privacy-modal__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.privacy-modal__body {
  line-height: var(--leading-relaxed);
  color: var(--muted);
}

.privacy-modal__body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg);
  margin: var(--space-xl) 0 var(--space-md) 0;
}

.privacy-modal__body p {
  margin-bottom: var(--space-lg);
}

.privacy-modal__body strong {
  color: var(--fg);
  font-weight: 600;
}

.privacy-modal__body a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.privacy-modal__body a:hover {
  border-color: var(--gold);
}

.privacy-modal__body ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.privacy-modal__body li {
  margin-bottom: var(--space-sm);
}

.privacy-modal__footer {
  margin-top: var(--space-2xl);
  padding: 0 var(--space-3xl) var(--space-3xl) var(--space-3xl);
  border-top: 1px solid var(--subtle);
  text-align: center;
  flex-shrink: 0;
}

.privacy-modal__close {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-base);
}

.privacy-modal__close:hover {
  background: #B8941F;
  transform: translateY(-1px);
}

/* Responsive para modal */
@media (max-width: 768px) {
  .privacy-modal {
    padding: var(--space-sm);
  }
  
  .privacy-modal__content {
    max-height: 95vh;
  }
  
  .privacy-modal__scrollable {
    padding: var(--space-xl);
  }
  
  .privacy-modal__header {
    padding: var(--space-xl) var(--space-xl) 0 var(--space-xl);
  }
  
  .privacy-modal__footer {
    padding: 0 var(--space-xl) var(--space-xl) var(--space-xl);
  }
  
  .privacy-modal__title {
    font-size: var(--text-xl);
  }
}

/* Testimonial Cards */
.testimonial {
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.testimonial:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.testimonial__quote {
  margin-bottom: var(--space-lg);
}

.testimonial__quote p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--fg);
  font-style: italic;
  position: relative;
  max-width: none;
}

.testimonial__quote p::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--subtle);
}

.testimonial__name {
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: var(--space-xs);
}

.testimonial__role {
  color: var(--muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   FORMS
   Formularios accesibles con validación y estados
   ========================================================================== */

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
}

.form-label--required::after {
  content: '*';
  color: var(--error);
  margin-left: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--subtle);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-sm);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--error);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.form-error::before {
  content: '⚠';
  color: var(--error);
}

.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--error);
}

.form-input--success,
.form-textarea--success,
.form-select--success {
  border-color: var(--success);
}

.form-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  padding-top: var(--space-lg);
}

/* Estados de carga en formularios */
.form-loading {
  position: relative;
  overflow: hidden;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
  animation: loading 1.5s infinite;
}

/* Alert messages */
.alert {
  padding: var(--space-md);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.alert--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert--error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert--info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Footer específico */
.footer {
  color: var(--bg);
}

.footer h3,
.footer h4 {
  color: var(--bg);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover,
.footer a:focus {
  color: var(--bg);
}

.footer__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.footer__subtitle {
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  max-width: none;
}

.footer__column-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--bg);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   ABOUT SECTION
   Estilos para la sección sobre mí
   ========================================================================== */

.about-content {
  max-width: 100%;
  width: 100%;
}

.about-text {
  max-width: 100%;
  width: 100%;
}

.about-text__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-text__title:first-child {
  margin-top: 0;
}

.about-text__intro,
.about-text__description {
  max-width: 100%;
  width: 100%;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.about-text__intro {
  font-size: var(--text-lg);
  color: var(--fg);
}

.about-text__closing {
  max-width: 100%;
  width: 100%;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--fg);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.about-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   EXPERIENCE SECTION
   Estilos para la sección de trayectoria profesional
   ========================================================================== */

.experience-cards {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.experience-card {
  background: var(--bg);
  border: 1px solid var(--subtle);
  border-radius: calc(var(--border-radius) * 2);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-base);
}

.experience-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.experience-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  background: linear-gradient(143deg, rgba(201, 162, 39, 0.2) 5%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(201, 162, 39, 0.2) 95%);
}

/* Tarjetas especiales */
.experience-card--current {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, var(--bg) 100%);
}

.experience-card--current::before {
  transform: scaleY(1);
}

.experience-card--highlight {
  border-color: rgba(201, 162, 39, 0.3);
}

.experience-card--first {
  border-color: rgba(201, 162, 39, 0.2);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.02) 0%, var(--bg) 100%);
}

.experience-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.experience-period {
  flex-shrink: 0;
  min-width: 140px;
}

.period-badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bg);
  background: var(--gradient-gold);
  padding: var(--space-sm) var(--space-md);
  border-radius: calc(var(--border-radius) * 3);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.experience-company {
  flex: 1;
  min-width: 0;
}

.company-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: var(--space-xs);
  line-height: var(--leading-tight);
}

.job-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.location-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
  background: var(--subtle);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  margin-top: var(--space-sm);
}

.experience-card__content {
  padding-left: 0;
}

.job-description {
  margin-bottom: var(--space-xl);
  width: 100%;
  max-width: none;
}

.job-description p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--muted);
  margin-bottom: var(--space-md);
  width: 100%;
  max-width: none;
}

.job-description p:last-child {
  margin-bottom: 0;
}

.tech-section {
  border-top: 1px solid var(--subtle);
  padding-top: var(--space-lg);
}

.tech-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tech-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: calc(var(--border-radius) * 2);
  transition: all var(--transition-base);
  cursor: default;
}

.tech-tag:hover {
  background: rgba(201, 162, 39, 0.2);
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
  .experience-card {
    padding: var(--space-xl);
  }
  
  .experience-card__header {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .experience-period {
    min-width: auto;
  }
  
  .period-badge {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
  }
  
  .company-name {
    font-size: var(--text-lg);
  }
  
  .job-title {
    font-size: var(--text-base);
  }
  
  .about-actions {
    flex-direction: column;
  }
}
